aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
authorsorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-29 09:24:10 +0000
committersorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-29 09:24:10 +0000
commit535c539b28e99180f990a71544245580eac237a7 (patch)
tree6aaf6d2e66a087d87a92021e450c6303b0dc7256 /common.mk
parent80a743388d4b9d5a3f88e219eb40a511c0104720 (diff)
downloadruby-535c539b28e99180f990a71544245580eac237a7.tar.gz
Fix `make clean` errors
Patch by Kohei Suzuki <eagletmt@gmail.com>. * common.mk(clean-rubyspec): Supress error messages when rubyspec files don't exist. [GH-1563] [Bug #13384] * Makefile.in: Fix error when files don't exist. [GH-1563] [Bug #13384] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index bf03a821c5..608e4a2d0d 100644
--- a/common.mk
+++ b/common.mk
@@ -621,7 +621,7 @@ clean-platform:
RUBYSPEC_CAPIEXT = spec/rubyspec/optional/capi/ext
clean-rubyspec: PHONY
-$(Q) $(RM) $(RUBYSPEC_CAPIEXT)/*.$(OBJEXT) $(RUBYSPEC_CAPIEXT)/*.$(DLEXT)
- -$(Q) $(RMDIRS) $(RUBYSPEC_CAPIEXT)
+ -$(Q) $(RMDIRS) $(RUBYSPEC_CAPIEXT) 2> $(NULL) || exit 0
check: main test test-testframework test-almost
$(ECHO) check succeeded