summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-03-10 09:56:50 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-03-10 09:56:50 +0000
commita9126ce255fb0dadb8204ecbc6fe1b3145e25d52 (patch)
tree8fc917f4f0343e2343925f841c5036e70d12f1ed /scripts
parent7b3e36489996c66c1a42a7216c5f1cf2e7f7c451 (diff)
downloadquilt-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.in4
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