diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-11-18 20:16:54 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-11-18 20:16:54 +0000 |
commit | 6dce478a6a9ee1f1602102365b0438c2b8cc126d (patch) | |
tree | e3f2e937c59ef1fee2bbe032077c8836e8693086 /instruby.rb | |
parent | 359702f04db21aeb28aa11ebaa291703a75d6524 (diff) |
* instruby.rb: Do not install various working files under bin/.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 e3b08ffdee..a4a445fafc 100644 --- a/instruby.rb +++ b/instruby.rb @@ -78,6 +78,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) |