summaryrefslogtreecommitdiff
path: root/maint.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-03-25 22:49:09 +0100
committerJim Meyering <meyering@redhat.com>2009-03-25 22:51:55 +0100
commitb102ed9ba6e529cc3dcf6be63c95d0f93d5499e0 (patch)
tree767ac9e9b4d04575285b8fbd6412981c717725a8 /maint.mk
parent9b4aa5e268da5980f63a1c47c2cd7ba04ad4a394 (diff)
downloadcoreutils-b102ed9ba6e529cc3dcf6be63c95d0f93d5499e0.tar.xz
tests: don't fail "make syntax-check" on cygwin
* maint.mk (NEWS_hash): Remove trailing " -" or " *-". * cfg.mk (old_NEWS_hash): Regenerate, removing " -". Reported by Eric Blake.
Diffstat (limited to 'maint.mk')
-rw-r--r--maint.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/maint.mk b/maint.mk
index 54444367a..554b90a12 100644
--- a/maint.mk
+++ b/maint.mk
@@ -460,9 +460,12 @@ sc_const_long_option:
echo 1>&2 '$(ME): add "const" to the above declarations'; \
exit 1; } || :
-NEWS_hash = \
- $$(sed -n '/^\*.* $(PREV_VERSION_REGEXP) ([0-9-]*)/,$$p' \
- $(srcdir)/NEWS | grep -v '^Copyright .*Free Software' | md5sum -)
+NEWS_hash = \
+ $$(sed -n '/^\*.* $(PREV_VERSION_REGEXP) ([0-9-]*)/,$$p' \
+ $(srcdir)/NEWS \
+ | grep -v '^Copyright .*Free Software' \
+ | md5sum - \
+ | sed 's/ .*//')
# Ensure that we don't accidentally insert an entry into an old NEWS block.
sc_immutable_NEWS: