From a9126ce255fb0dadb8204ecbc6fe1b3145e25d52 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Wed, 10 Mar 2004 09:56:50 +0000 Subject: - Quilt push/pop: exit with a non-zero status when beyond series. - Ignore empty lines in series file. --- scripts/patchfns.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/patchfns.in b/scripts/patchfns.in index 9b37e47..38d08a9 100644 --- a/scripts/patchfns.in +++ b/scripts/patchfns.in @@ -281,8 +281,8 @@ cat_series() { if [ -e $SERIES ] then - @SED@ -e '/^#/d' -e 's/^[ '$'\t'']*//' -e 's/[ '$'\t''].*//' \ - $SERIES + @SED@ -e '/^$/d' -e '/^#/d' -e 's/^[ '$'\t'']*//' \ + -e 's/[ '$'\t''].*//' $SERIES else return 1 fi -- cgit