Author: adsb
Date: 2008-12-08 06:25:49 +0000 (Mon, 08 Dec 2008)
New Revision: 1759

Modified:
   trunk/debian/changelog
   trunk/scripts/debsign.sh
Log:
The "how did I miss that one?" release
* debsign: Fix a use of mktemp to actually generate unique filenames.
(Closes: #508111)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-12-07 17:19:56 UTC (rev 1758)
+++ trunk/debian/changelog      2008-12-08 06:25:49 UTC (rev 1759)
@@ -1,7 +1,10 @@
 devscripts (2.10.43) UNRELEASED; urgency=low
 
-  * NOT RELEASED YET
+  The "how did I miss that one?" release
 
+  * debsign: Fix a use of mktemp to actually generate unique filenames.
+    (Closes: #508111)
+
  -- Adam D. Barratt <[EMAIL PROTECTED]>  Sun, 07 Dec 2008 17:10:59 +0000
 
 devscripts (2.10.42) unstable; urgency=low

Modified: trunk/scripts/debsign.sh
===================================================================
--- trunk/scripts/debsign.sh    2008-12-07 17:19:56 UTC (rev 1758)
+++ trunk/scripts/debsign.sh    2008-12-08 06:25:49 UTC (rev 1759)
@@ -116,7 +116,7 @@
     local filename
 
     if ! [ -w "$(dirname "$1")" ]; then
-       filename=`mktemp -t "$(basename "$1").XXXXXXXXXX.$2"` || {
+       filename=`mktemp -t "$(basename "$1").$2.XXXXXXXXXX"` || {
            echo "$PROGNAME: Unable to create temporary file; aborting" >&2
            exit 1
        }



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

Reply via email to