summaryrefslogtreecommitdiff
path: root/Makefile.maint
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 /Makefile.maint
parent2005de6be93a71d1baf94721b50b559166c8a422 (diff)
downloadcoreutils-144fe359e1d3d13eb745afc907091bb54d67a692.tar.xz
* Makefile.maint (patch-check): Don't remove temporaries upon failure.
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint3
1 files changed, 1 insertions, 2 deletions
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