r46574 - /scripts/repack.sh

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Oct 31 13:01:14 UTC 2009


Author: gregoa
Date: Sat Oct 31 13:00:23 2009
New Revision: 46574

URL: http://svn.debian.org/wsvn/?sc=1&rev=46574
Log:
rename one pair of MYORIGPWD to MYOLDPWD, otherwise we end up in the wrong dir before the last "mv" and the script doesn't find our target dir

Modified:
    scripts/repack.sh

Modified: scripts/repack.sh
URL: http://svn.debian.org/wsvn/scripts/repack.sh?rev=46574&op=diff
==============================================================================
--- scripts/repack.sh (original)
+++ scripts/repack.sh Sat Oct 31 13:00:23 2009
@@ -69,7 +69,7 @@
 
 rm(){
     set +f
-    MYORIGPWD=$(pwd)
+    MYOLDPWD=$(pwd)
     cd "$UP_BASE"
     if [ "$MANIFEST" = "1" ]; then
         PERM=$(stat --format=%a "MANIFEST")
@@ -93,7 +93,7 @@
     if [ "$MANIFEST" = "1" ]; then
         chmod $PERM "MANIFEST"
     fi
-    cd $MYORIGPWD
+    cd $MYOLDPWD
     set -f
 }
 




More information about the Pkg-perl-cvs-commits mailing list