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

extmk.rb: remove sysquote

* ext/extmk.rb (sysquote): removed.  unnecessary since r52161.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-08-07 10:04:41 +00:00
parent 41d220441d
commit 78728b89df

View file

@ -50,10 +50,6 @@ elsif !File.chardev?(@null = "/dev/null")
@null = "nul"
end
def sysquote(x)
@quote ? x.quote : x
end
def verbose?
$mflags.defined?("V") == "1"
end
@ -267,9 +263,9 @@ def extmake(target, basedir = 'ext')
return parent ? [conf, lineno||0, message] : true
end
args = sysquote($mflags)
args = $mflags
unless $destdir.to_s.empty? or $mflags.defined?("DESTDIR")
args += [sysquote("DESTDIR=" + relative_from($destdir, "../"+prefix))]
args += ["DESTDIR=" + relative_from($destdir, "../"+prefix)]
end
if $static and ok and !$objs.empty? and !noinstall
args += ["static"] unless $clean
@ -812,7 +808,7 @@ elsif !$configure_only
puts message
$stdout.flush
$mflags.concat(rubies)
system($make, *sysquote($mflags)) or exit($?.exitstatus)
system($make, *$mflags) or exit($?.exitstatus)
end
# :startdoc: