fix cut-release sanity checks
authorMorgan Deters <mdeters@gmail.com>
Sat, 1 Dec 2012 17:58:02 +0000 (17:58 +0000)
committerMorgan Deters <mdeters@gmail.com>
Sat, 1 Dec 2012 17:58:02 +0000 (17:58 +0000)
contrib/cut-release

index ea0308adab4e6035ab99649caf5eada5d1eb17f2..ef51b6edb8bbf934009dfe778a1c66d9ba8accc0 100755 (executable)
@@ -79,7 +79,7 @@ if $dryrun; then
     echo "$(basename "$0"): ERROR: In dry-run mode, cannot operate properly with local modifications to \"configure.ac\", sorry" >&2
     exit 1
   fi
-elif [ -n "$(svn status -q)" ]; then
+elif [ -n "$(svn status -q | grep -v '^M *[0-9]* *NEWS$')" ]; then
   echo "$(basename "$0"): ERROR: \"svn status\" indicates there are local modifications; please commit first" >&2
   exit 1
 fi