summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2005-05-12 13:03:59 +0000
committerAndreas Gruenbacher <agruen@suse.de>2005-05-12 13:03:59 +0000
commit7824a1204bbb34d7450e22d7d4938c1f07f626b5 (patch)
treed148044fe275e3ef61deef74e687b0cb6e0f393b
parent45c5f8a920e6b3c06b1438374bb1e14f7a39b02e (diff)
downloadquilt-7824a1204bbb34d7450e22d7d4938c1f07f626b5.tar.gz
- Quoting fix from Jean Delvare <khali@linux-fr.org>, and one more
from me.
-rw-r--r--quilt.changes6
-rw-r--r--quilt/push.in2
-rw-r--r--scripts/inspect.in8
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