Author: adsb
Date: 2008-12-07 16:59:22 +0000 (Sun, 07 Dec 2008)
New Revision: 1754

Modified:
   trunk/scripts/uupdate.sh
Log:
Don't root temporary directories in a tempdir, as the code assumes they are 
relative to the working directory

Modified: trunk/scripts/uupdate.sh
===================================================================
--- trunk/scripts/uupdate.sh    2008-12-07 14:35:56 UTC (rev 1753)
+++ trunk/scripts/uupdate.sh    2008-12-07 16:59:22 UTC (rev 1754)
@@ -365,7 +365,7 @@
     rm -rf $PACKAGE-$UVERSION.orig
 
     # Unpacking .orig.tar.gz is not quite trivial any longer ;-)
-    TEMP_DIR=$(mktemp -dt uupdate.XXXXXXXX) || {
+    TEMP_DIR=$(mktemp -d uupdate.XXXXXXXX) || {
        echo "$PROGNAME: can't create temporary directory;" >&2
        echo "aborting..." >&2
        exit 1
@@ -573,7 +573,7 @@
     fi
 
     cd ..
-    TEMP_DIR=$(mktemp -dt uupdate.XXXXXXXX) || {
+    TEMP_DIR=$(mktemp -d uupdate.XXXXXXXX) || {
        echo "$PROGNAME: can't create temporary directory;" >&2
        echo "aborting..." >&2
        exit 1



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to