[SCM] debian-live/autotesting branch, master, updated. 9c5143b50da2155314f60f09166d45a23b762492

Chris Lamb chris at chris-lamb.co.uk
Fri Aug 8 22:58:06 UTC 2008


The following commit has been merged in the master branch:
commit 105ebb2bd2000465ceaebf246008bc8695650ca4
Author: Chris Lamb <chris at chris-lamb.co.uk>
Date:   Fri Aug 8 23:06:47 2008 +0100

    Use mktemp instead of $$ for temporary directories.
    
    Signed-off-by: Chris Lamb <chris at chris-lamb.co.uk>

diff --git a/video-qemu-booting-iso.sh b/video-qemu-booting-iso.sh
index bfde8ee..531df59 100755
--- a/video-qemu-booting-iso.sh
+++ b/video-qemu-booting-iso.sh
@@ -47,7 +47,7 @@ PASSWD="$(Random).$(Random).$(Random).$(Random).$(Random)"
 HOSTNAME=$(hostname)
 OLD_DISPLAY="$DISPLAY"
 TODAY=$(date +"%F")
-TMP_DIR=/tmp/vqbi.$$.tmp
+TMP_DIR="$(mktemp -d vqbi.XXXXXXXXX)"
 IPADDRESS="127.0.0.1"
 }
 

-- 
debian-live/autotesting



More information about the debian-live-changes mailing list