Browse Source

fix to detect incorrect line endings

Bill Gianopoulos 2 years ago
parent
commit
49a7f8727a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/check_series.sh

+ 1 - 1
scripts/check_series.sh

@@ -30,7 +30,7 @@ do
       ERRORS=`expr $ERRORS + 1`
       echo $i appears $COUNT times in series
     fi
-    if head -1 $i | grep -v '^# HG changeset patch' >/dev/null
+    if head -1 $i | grep -v '^# HG changeset patch$' >/dev/null
     then
       ERRORS=`expr $ERRORS + 1`
       echo bad hg header in $i