diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-07 10:04:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-07 10:04:41 +0000 |
commit | 2195bac60008e824925144ca27aaa176989c14a1 (patch) | |
tree | 90ab78d45dd9e79a00eb2420e5b14376c75e7630 /ext | |
parent | f21b10d75faf70412a356f4ce455fff19f2c095a (diff) | |
download | ruby-2195bac60008e824925144ca27aaa176989c14a1.tar.gz |
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
Diffstat (limited to 'ext')
-rwxr-xr-x | ext/extmk.rb | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 51d8b3ea09..e9f5eb5280 100755 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -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: |