summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-08-23 09:46:14 +0200
committerJim Meyering <jim@meyering.net>2007-08-23 09:46:14 +0200
commit144fe359e1d3d13eb745afc907091bb54d67a692 (patch)
treeb14a27155cd9948e857669d75dd8dcb29bfd44a9
parent2005de6be93a71d1baf94721b50b559166c8a422 (diff)
downloadcoreutils-144fe359e1d3d13eb745afc907091bb54d67a692.tar.xz
* Makefile.maint (patch-check): Don't remove temporaries upon failure.
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.maint3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e1ed737d0..bd403da31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-08-23 Jim Meyering <jim@meyering.net>
+
+ * Makefile.maint (patch-check): Don't remove temporaries upon failure.
+
2007-08-22 Jim Meyering <jim@meyering.net>
* src/c99-to-c89.diff: Adjust offsets.
diff --git a/Makefile.maint b/Makefile.maint
index 4f9720b61..3c43bd583 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -372,8 +372,7 @@ patch-check:
rm -f src-c89/*.o || msg='rm failed'; \
$(MAKE) -C src-c89 CFLAGS='-Wdeclaration-after-statement -Werror' \
|| msg='compile failure with extra options'; \
- rm -rf src-c89 $@.1 $@.2; \
- test "$$msg" = ok && : || echo "$$msg" 1>&2; \
+ test "$$msg" = ok && rm -rf src-c89 $@.1 $@.2 || echo "$$msg" 1>&2; \
test "$$msg" = ok
# Ensure that date's --help output stays in sync with the info