summaryrefslogtreecommitdiff
path: root/instruby.rb
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-18 20:16:54 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-18 20:16:54 +0000
commit12e312c5e4cabb3416b41affde4683a277a26333 (patch)
treedb070a03bcf557780bce8128392498768b2daa23 /instruby.rb
parentc52339881c949810f1e1e7a3f2172d25ebd50191 (diff)
* instruby.rb: Do not install various working files under bin/.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 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)