summaryrefslogtreecommitdiff
path: root/ext/fiddle
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fiddle')
-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)