diff options
Diffstat (limited to 'instruby.rb')
-rw-r--r-- | instruby.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/instruby.rb b/instruby.rb index 747782d430..a8cab9a7e1 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) |