diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-09 02:55:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-09 02:55:51 +0000 |
commit | 62b885b0900fa8949d794fccce44787e5669f16e (patch) | |
tree | 36a68c8893cd98676cd1f6fb24c8e196113538a1 /Makefile.in | |
parent | f94b7bcee43b77167bc3ebbf6fff9faed4cfe3c8 (diff) |
Ignore fail on non empty ext and gems [ci skip]
* Makefile.in ({ext,gems}/{distclean,realclean}): ignore fail on
removal of non empty directories. these directories should not
be empty when in-place build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 6891d90c79..bfb3ae32d3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -456,7 +456,7 @@ ext/distclean ext/realclean gems/distclean gems/realclean:: test "$$#" = 0 && set .; \ cd $(@D) 2>/dev/null && \ find "$$@" -type d -empty -exec $(RMDIRS) {} + 2> /dev/null || true - $(Q) $(RMDIRS) $(@D) + $(Q) $(RMDIRS) $(@D) 2> /dev/null || true clean-enc distclean-enc realclean-enc: @test -f "$(ENC_MK)" || exit 0; \ |