[前][次][番号順一覧][スレッド一覧]

ruby-changes:46493

From: nobu <ko1@a...>
Date: Tue, 9 May 2017 11:55:57 +0900 (JST)
Subject: [ruby-changes:46493] nobu:r58613 (trunk): Ignore fail on non empty ext and gems [ci skip]

nobu	2017-05-09 11:55:51 +0900 (Tue, 09 May 2017)

  New Revision: 58613

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58613

  Log:
    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.

  Modified files:
    trunk/Makefile.in
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 58612)
+++ Makefile.in	(revision 58613)
@@ -456,7 +456,7 @@ ext/distclean ext/realclean gems/distcle https://github.com/ruby/ruby/blob/trunk/Makefile.in#L456
 	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; \

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]