summaryrefslogtreecommitdiffstats
path: root/instruby.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-29 06:39:50 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-29 06:39:50 +0000
commit544a70f7aa191b1da0f344cad1763c37943e67fb (patch)
tree193303ea0a80ff3afab2278ad36cb60b1353fe2a /instruby.rb
parent6d9e428bc560aef1c552a5a5e9db3d606febb6ab (diff)
downloadruby-544a70f7aa191b1da0f344cad1763c37943e67fb.tar.gz
ruby-544a70f7aa191b1da0f344cad1763c37943e67fb.tar.xz
ruby-544a70f7aa191b1da0f344cad1763c37943e67fb.zip
* instruby.rb, ext/extmk.rb, lib/benchmark.rb, lib/cgi.rb,
lib/debug.rb, lib/getoptlong.rb, lib/optparse.rb, lib/time.rb, lib/date/format.rb, lib/irb/ruby-lex.rb lib/uri/common.rb: revert escape for `-' in character class. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rw-r--r--instruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb
index 30362c5da..fc35948bf 100644
--- a/instruby.rb
+++ b/instruby.rb
@@ -25,7 +25,7 @@ def parse_args()
$mflags = Shellwords.shellwords(mflags)
if arg = $mflags.first
- arg.insert(0, '-') if /\A[^\-][^=]*\Z/ =~ arg
+ arg.insert(0, '-') if /\A[^-][^=]*\Z/ =~ arg
end
$make, *rest = Shellwords.shellwords($make)