Browse Source

be less fussy about line endings

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

+ 2 - 2
scripts/check_series.sh

@@ -30,13 +30,13 @@ 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
       continue
     fi
-    if ! head -2 $i | grep '^# User .*[@<]' >/dev/null
+    if ! head -2 $i | grep '^# User ' >/dev/null
     then
       ERRORS=`expr $ERRORS + 1`
       echo bad hg header in $i