summaryrefslogtreecommitdiff
path: root/instruby.rb
diff options
context:
space:
mode:
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 5c5b0b400f..4e82a35b91 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