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

ruby-changes:39321

From: nobu <ko1@a...>
Date: Mon, 27 Jul 2015 12:46:47 +0900 (JST)
Subject: [ruby-changes:39321] nobu:r51402 (trunk): fiddle: clean dot dir

nobu	2015-07-27 12:46:07 +0900 (Mon, 27 Jul 2015)

  New Revision: 51402

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

  Log:
    fiddle: clean dot dir
    
    * ext/fiddle/depend (distclean-libffi): clean dot directory too.

  Modified files:
    trunk/ext/fiddle/depend
Index: ext/fiddle/depend
===================================================================
--- ext/fiddle/depend	(revision 51401)
+++ ext/fiddle/depend	(revision 51402)
@@ -40,7 +40,7 @@ clean-libffi: https://github.com/ruby/ruby/blob/trunk/ext/fiddle/depend#L40
 distclean-libffi:
 	$(Q) $(SUBMAKE_LIBFFI) distclean
 	$(Q) $(RM) $(LIBFFI_DIR)/local.exp
-	$(Q) $(RUBY) -rfileutils -e "FileUtils.rmdir(Dir.glob(ARGV[0]+'/**/'), :parents=>true)" $(LIBFFI_DIR)
+	$(Q) $(RUBY) -rfileutils -e "FileUtils.rmdir(Dir.glob(ARGV[0]+'/**/{,.*/}'), :parents=>true)" $(LIBFFI_DIR)
 
 realclean-libffi:
 	$(Q) $(RMALL) $(LIBFFI_DIR)

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

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