- 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
This commit is contained in:
Jean Delvare 2011-10-06 16:57:12 +00:00 committed by Git OBS Bridge
parent b52816e331
commit da14be5723
3 changed files with 35 additions and 3 deletions

View File

@ -0,0 +1,24 @@
---
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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Oct 6 18:53:45 CEST 2011 - ohering@suse.de
- inspect-shell-syntax-errors.patch: Quote strings in inspect
helper script to avoid flood of shell syntax errors during
quilt setup -v *.spec.
-------------------------------------------------------------------
Tue Nov 2 18:47:20 CET 2010 - jdelvare@suse.de

View File

@ -19,12 +19,12 @@
Name: quilt
BuildRequires: diffstat ed procmail emacs-nox
BuildRequires: diffstat ed emacs-nox procmail
Summary: A Tool for Working with Many Patches
License: GPLv2+
Group: Productivity/Text/Utilities
Version: 0.48
Release: 7
Release: 13
Requires: coreutils diffutils patch gzip bzip2 perl mktemp diffstat file
%if %{suse_version} > 910
Recommends: procmail
@ -46,6 +46,7 @@ Patch11: fix-patch-version-detection.patch
Patch12: setup-add-fuzz-parameter.patch
Patch13: setup-support-reverse-patch.patch
Patch14: completion-revert.patch
Patch15: inspect-shell-syntax-errors.patch
Url: http://savannah.nongnu.org/projects/quilt
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -65,7 +66,7 @@ Authors:
%prep
%setup -q
%patch -p1 -P 1 -P 2 -P 3 -P 4 -P 5 -P 6 -P 7 -P 8 -P 9 -P 10 -P 11 -P 12 -P 13 -P 14
%patch -p1 -P 1 -P 2 -P 3 -P 4 -P 5 -P 6 -P 7 -P 8 -P 9 -P 10 -P 11 -P 12 -P 13 -P 14 -P 15
%build
autoconf