summaryrefslogtreecommitdiff
path: root/instruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'instruby.rb')
-rw-r--r--instruby.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/instruby.rb b/instruby.rb
index 747782d..a8cab9a 100644
--- a/instruby.rb
+++ b/instruby.rb
@@ -100,6 +100,7 @@ Dir.chdir CONFIG["srcdir"]
for src in Dir["bin/*"]
next unless File.file?(src)
+ next if /\/[.#]|(\.(old|bak|orig|rej|diff|patch|core)|~|\/core)$/i =~ src
name = ruby_install_name.sub(/ruby/, File.basename(src))
dest = File.join(bindir, name)