diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2004-03-10 09:56:50 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2004-03-10 09:56:50 +0000 |
commit | a9126ce255fb0dadb8204ecbc6fe1b3145e25d52 (patch) | |
tree | 8fc917f4f0343e2343925f841c5036e70d12f1ed /scripts | |
parent | 7b3e36489996c66c1a42a7216c5f1cf2e7f7c451 (diff) | |
download | quilt-a9126ce255fb0dadb8204ecbc6fe1b3145e25d52.tar.gz |
- Quilt push/pop: exit with a non-zero status when beyond series.
- Ignore empty lines in series file.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/patchfns.in | 4 |
1 files changed, 2 insertions, 2 deletions
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 |