summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlaf Hering <ohering@suse.de>2011-10-06 14:02:00 +0200
committerJean Delvare <jdelvare@suse.de>2011-10-06 14:02:00 +0200
commit7c56a11a2de67cb7043cfabb3d80146a6426062c (patch)
tree886f1874ff0366110fd48ce4d5d940dfe9c318d8
parentf3e7822028616014f933b99d05f42fc028f8d12c (diff)
downloadquilt-7c56a11a2de67cb7043cfabb3d80146a6426062c.tar.gz
quilt/inspect.in: Quote strings to avoid flood of shell syntax errors during quilt setup -v *.spec
-rw-r--r--quilt.changes6
-rw-r--r--quilt/scripts/inspect.in4
2 files changed, 8 insertions, 2 deletions
diff --git a/quilt.changes b/quilt.changes
index 3807ad9..08bff60 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Wed Oct 5 16:21:28 CEST 2011 - ohering@suse.de
+
+- quilt/inspect.in: Quote strings to avoid flood of shell syntax
+ errors during quilt setup -v *.spec.
+
+-------------------------------------------------------------------
Sun Sep 25 15:33:20 CEST 2011 - mquinson@debian.org
- po/ru.po: incorporate the russian translation contributed by Sergey
diff --git a/quilt/scripts/inspect.in b/quilt/scripts/inspect.in
index 255c365..52f9c5c 100644
--- a/quilt/scripts/inspect.in
+++ b/quilt/scripts/inspect.in
@@ -144,7 +144,7 @@ cat <<-'EOF' > $tmpdir/bin/wrapper
md5sum=$1
while read md5sum_ file_
do
- if [ $md5sum = $md5sum_ ]
+ if [ "$md5sum" = "$md5sum_" ]
then
echo ${file_#\*}
return 0
@@ -163,7 +163,7 @@ cat <<-'EOF' > $tmpdir/bin/wrapper
while read md5sum_ file_
do
- if [ $md5sum = $md5sum_ ]
+ if [ "$md5sum" = "$md5sum_" ]
then
echo ${file_#\*}
return 0