1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fixed the wrong variable for --executable flag

This commit is contained in:
Hiroshi SHIBATA 2020-09-28 18:52:26 +09:00
parent f2c6a3513f
commit 87726143ef
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -51,7 +51,7 @@ def main
logfilename = path
}
parser.on('-e', '--executable [RUBYPATH]', 'Makes executable parser.') {|path|
executable = true
make_executable = true
rubypath = (path == 'ruby' ? nil : path)
}
parser.on('-E', '--embedded', "Embeds Racc runtime in output.") {