Author: adsb
Date: 2009-01-11 15:52:39 +0000 (Sun, 11 Jan 2009)
New Revision: 1786
Modified:
trunk/debian/changelog
trunk/scripts/debsign.sh
Log:
debsign: Add further quoting around the use and generation of temporary
directory names, in case $TMPDIR contains spaces.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2009-01-09 22:06:39 UTC (rev 1785)
+++ trunk/debian/changelog 2009-01-11 15:52:39 UTC (rev 1786)
@@ -1,11 +1,16 @@
devscripts (2.10.45) UNRELEASED; urgency=low
+ [ Patrick Schoenfeld ]
* debsnap: Added new script from Ron Lee and David Paleino,
which grabs source packages from snapshot.debian.net.
(Closes: #511345)
* Add a hint to README.newscripts that new scripts might need a modification
to debian/copyright
+ [ Adam D. Barratt ]
+ * debsign: Add further quoting around the use and generation of temporary
+ directory names, in case $TMPDIR contains spaces.
+
-- Patrick Schoenfeld <[email protected]> Fri, 09 Jan 2009 23:01:08 +0100
devscripts (2.10.44) unstable; urgency=low
Modified: trunk/scripts/debsign.sh
===================================================================
--- trunk/scripts/debsign.sh 2009-01-09 22:06:39 UTC (rev 1785)
+++ trunk/scripts/debsign.sh 2009-01-11 15:52:39 UTC (rev 1786)
@@ -51,7 +51,7 @@
mksigningdir () {
if [ -z "$signingdir" ]; then
- signingdir=$(mktemp -dt debsign.XXXXXXXX) || {
+ signingdir="$(mktemp -dt debsign.XXXXXXXX)" || {
echo "$PROGNAME: Can't create temporary directory" >&2
echo "Aborting..." >&2
exit 1
@@ -61,7 +61,7 @@
mkremotefilesdir () {
if [ -z "$remotefilesdir" ]; then
- remotefilesdir=$(mktemp -dt debsign.XXXXXXXX) || {
+ remotefilesdir="$(mktemp -dt debsign.XXXXXXXX)" || {
echo "$PROGNAME: Can't create temporary directory" >&2
echo "Aborting..." >&2
exit 1
@@ -413,7 +413,7 @@
if [ -n "$remotehost" ]
then
mkremotefilesdir
- cd $remotefilesdir
+ cd "$remotefilesdir"
remotechanges=$changes
remotedsc=$dsc
--
To unsubscribe, send mail to [email protected].