summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-28 18:52:26 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-28 18:53:25 +0900
commit87726143ef4ce2f4e562255a5af1f88b8ef78900 (patch)
tree71722d6543d820f930be0ece3a1d3b8b95fc6199 /libexec
parentf2c6a3513fa6bbff8e009fbd442e233db848b7c4 (diff)
Fixed the wrong variable for --executable flag
Diffstat (limited to 'libexec')
-rwxr-xr-xlibexec/racc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/racc b/libexec/racc
index 2edd6bb07b..5fcc37d99a 100755
--- a/libexec/racc
+++ b/libexec/racc
@@ -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.") {