summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2005-09-18 16:02:31 +0000
committerAndreas Gruenbacher <agruen@suse.de>2005-09-18 16:02:31 +0000
commit6ae1e0818c240ac4172cc11f287b47ded05c5a20 (patch)
treeef916fc2613ac612fe52234231b5798b3743141a /scripts
parent194280dcd24f09375eeea8592f984152f7119b9c (diff)
downloadquilt-6ae1e0818c240ac4172cc11f287b47ded05c5a20.tar.gz
- Makefile.in: Add a dependency of all to COMPAT_PROGRAMS which
was lost somewhere. Fix internal "mta" program. - Get rid of ``grep -E''.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/patchfns.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in
index 965c4a4..79494d6 100644
--- a/scripts/patchfns.in
+++ b/scripts/patchfns.in
@@ -189,7 +189,7 @@ patch_in_series()
then
return 1
else
- grep -q -E "^$(quote_re $patch)([ \t]|$)" $SERIES
+ grep -q "^$(quote_bre $patch)\([ \t]\|$\)" $SERIES
fi
}
@@ -326,7 +326,7 @@ is_applied()
{
local patch=$1
[ -e $DB ] || return 1
- grep -q -E "^$(quote_re $patch)\$" $DB
+ grep -q "^$(quote_bre $patch)\$" $DB
}
applied_patches()
@@ -419,7 +419,7 @@ remove_from_db()
local tmpfile
if tmpfile=$(gen_tempfile)
then
- grep -v -E "^$(quote_re $patch)\$" $DB > $tmpfile
+ grep -v "^$(quote_bre $patch)\$" $DB > $tmpfile
cat $tmpfile > $DB
rm -f $tmpfile
[ -s $DB ] || rm -f $DB