From 6ae1e0818c240ac4172cc11f287b47ded05c5a20 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Sun, 18 Sep 2005 16:02:31 +0000 Subject: - Makefile.in: Add a dependency of all to COMPAT_PROGRAMS which was lost somewhere. Fix internal "mta" program. - Get rid of ``grep -E''. --- scripts/patchfns.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/patchfns.in') 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 -- cgit