summaryrefslogtreecommitdiffstats
path: root/scripts/patchfns.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/patchfns.in')
-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