diff options
author | Jim Meyering <meyering@redhat.com> | 2009-03-25 22:49:09 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-03-25 22:51:55 +0100 |
commit | b102ed9ba6e529cc3dcf6be63c95d0f93d5499e0 (patch) | |
tree | 767ac9e9b4d04575285b8fbd6412981c717725a8 /maint.mk | |
parent | 9b4aa5e268da5980f63a1c47c2cd7ba04ad4a394 (diff) | |
download | coreutils-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.mk | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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: |