summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-27 03:46:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-27 03:46:07 +0000
commit7d8ac5913136172de8b69359e0d896f311b1c090 (patch)
treeb72dc799bcdf8c44ca783138eaf335b3a719bb46 /ext
parent50a585ed2573d718be7d25c1db3a470e58ca5bf0 (diff)
fiddle: clean dot dir
* ext/fiddle/depend (distclean-libffi): clean dot directory too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/fiddle/depend2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fiddle/depend b/ext/fiddle/depend
index 5ff480b7bf..0052787934 100644
--- a/ext/fiddle/depend
+++ b/ext/fiddle/depend
@@ -40,7 +40,7 @@ clean-libffi:
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)