diff options
-rw-r--r-- | quilt.changes | 6 | ||||
-rw-r--r-- | quilt/push.in | 2 | ||||
-rw-r--r-- | scripts/inspect.in | 8 |
3 files changed, 11 insertions, 5 deletions
diff --git a/quilt.changes b/quilt.changes index de5c655..2c847cf 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu May 12 15:02:57 CEST 2005 - agruen@suse.de + +- Quoting fix from Jean Delvare <khali@linux-fr.org>, and one more + from me. + +------------------------------------------------------------------- Sun May 8 19:39:14 CEST 2005 - agruen@suse.de - doc/quilt.1.in: Fix some typos (mostly from Jean Delvare). diff --git a/quilt/push.in b/quilt/push.in index dee2589..a924127 100644 --- a/quilt/push.in +++ b/quilt/push.in @@ -187,7 +187,7 @@ add_patch() touch $QUILT_PC/$patch/.timestamp fi - if [ "$(shopt -s nullglob ; echo $QUILT_PC/$patch/*)" = "" ] + if [ "$(shopt -s nullglob ; echo "$QUILT_PC/$patch/"*)" = "" ] then printf $"Patch %s appears to be empty, applied\n" \ "$(print_patch $patch)" diff --git a/scripts/inspect.in b/scripts/inspect.in index b32a8b4..f3fb648 100644 --- a/scripts/inspect.in +++ b/scripts/inspect.in @@ -65,19 +65,19 @@ do [ -f "$file" ] || continue echo -n "." >&4 echo "md5sum < $file" >&2 - set -- $(md5sum < $file) + set -- $(md5sum < "$file") echo "$1 $file" - case "$(file -b $file)" in + case "$(file -b "$file")" in compress*|gzip*) echo -n "g" >&4 echo "md5sum < <(gzip -cd $file)" >&2 - set -- $(gzip -cd $file | md5sum) + set -- $(gzip -cd "$file" | md5sum) echo "$1 $file" ;; bzip2*) echo -n "b" >&4 echo "md5sum < <(bzip2 -cd $file)" >&2 - set -- $(bzip2 -cd $file | md5sum) + set -- $(bzip2 -cd "$file" | md5sum) echo "$1 $file" ;; esac |