forked from pool/quilt
cf4db71d55
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
25 lines
590 B
Diff
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
|