summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot8
1 files changed, 5 insertions, 3 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index cc4bc711f9..971dfd861e 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -69,9 +69,11 @@ path = ENV["PATH"].split(File::PATH_SEPARATOR)
end
end
-`#{ENV["BASERUBY"]} --disable-gem -e1 2>&1`
-if $?.success?
- ENV["BASERUBY"] += ' --disable-gems'
+%w[BASERUBY RUBY MINIRUBY].each do |var|
+ `#{ENV[var]} --disable-gem -e1 2>&1`
+ if $?.success?
+ ENV[var] += ' --disable-gem'
+ end
end
if $help or $_help