summaryrefslogtreecommitdiffstats
path: root/instruby.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-28 10:32:05 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-28 10:32:05 +0000
commit8307171491b9b94870e51a68a8e723529d755ab2 (patch)
tree0193144ed5db74b22692833bde672fe206bb70c3 /instruby.rb
parent9052830d0ef54291ebb8f263e62aa95a589c6483 (diff)
downloadruby-8307171491b9b94870e51a68a8e723529d755ab2.tar.gz
ruby-8307171491b9b94870e51a68a8e723529d755ab2.tar.xz
ruby-8307171491b9b94870e51a68a8e723529d755ab2.zip
* instruby.rb: remove junk args.
* lib/mkmf.rb (create_makefile): remove a trouble library before making a shared library. * win32/Makefile.sub: invoke instruby.rb with the --make-flags option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3233 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 5c5b0b400..4e82a35b9 100644
--- a/instruby.rb
+++ b/instruby.rb
@@ -15,6 +15,7 @@ $dryrun = $OPT["n"]
Shellwords.shellwords($OPT["make-flags"] || "").grep(/^-[^-]*n/) do
break $dryrun = true
end
+ARGV.delete_if{|x|x[0] == ?-}
destdir = ARGV[0] || ''
include FileUtils::Verbose