summaryrefslogtreecommitdiff
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
commit2672d0cc28ad4a927065097f90e75efa5d950102 (patch)
tree0193144ed5db74b22692833bde672fe206bb70c3 /instruby.rb
parent025723b978290e57825df9b981ef4f05650b8178 (diff)
* 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: svn+ssh://ci.ruby-lang.org/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 5c5b0b4..4e82a35 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