summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2003-01-31 22:01:56 +0000
committerAndreas Gruenbacher <agruen@suse.de>2003-01-31 22:01:56 +0000
commit2d3961141125ab943c39c5edf3d067dff3bb8b54 (patch)
treebaa854311c675efe6ec0c7f0cbfe1aa0d6920dcb
parentac4d3b13a53e8189131bbd74b8b0f4a7c5068d8c (diff)
downloadquilt-2d3961141125ab943c39c5edf3d067dff3bb8b54.tar.gz
Another regex fix; accidental checking of grep return status
-rw-r--r--quilt/remove.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/quilt/remove.in b/quilt/remove.in
index 9ecf0d2..168d369 100644
--- a/quilt/remove.in
+++ b/quilt/remove.in
@@ -109,8 +109,8 @@ do
fi
pc_file=$(pc_file_name $patch)
- tmpfile=$(@MKTEMP@ /tmp/patch-scripts.XXXXXX) &&
- grep -v '^'"$(quote_re $file)"'$' $pc_file > $tmpfile &&
+ tmpfile=$(@MKTEMP@ /tmp/patch-scripts.XXXXXX)
+ grep -v -E '^'"$(quote_re $file)"'$' $pc_file > $tmpfile
mv -f $tmpfile $pc_file
rm -f $tmpfile