SHA256
1
0
forked from pool/quilt
quilt/inspect-shell-syntax-errors.patch
Jean Delvare cf4db71d55 - inspect-shell-syntax-errors.patch: Quote strings in inspect
helper script to avoid flood of shell syntax errors during
  quilt setup -v *.spec.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/quilt?expand=0&rev=30
2011-10-06 16:57:12 +00:00

25 lines
590 B
Diff

---
quilt/scripts/inspect.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- quilt-0.48.orig/quilt/scripts/inspect.in
+++ quilt-0.48/quilt/scripts/inspect.in
@@ -143,7 +143,7 @@ cat <<-'EOF' > $tmpdir/bin/wrapper
md5sum=$1
while read md5sum_ file_
do
- if [ $md5sum = $md5sum_ ]
+ if [ "$md5sum" = "$md5sum_" ]
then
echo ${file_#\*}
return 0
@@ -162,7 +162,7 @@ cat <<-'EOF' > $tmpdir/bin/wrapper
while read md5sum_ file_
do
- if [ $md5sum = $md5sum_ ]
+ if [ "$md5sum" = "$md5sum_" ]
then
echo ${file_#\*}
return 0