summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-07 10:04:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-07 10:04:41 +0000
commit78728b89dfa768b169e6d1caa7319b7e0980e988 (patch)
tree90ab78d45dd9e79a00eb2420e5b14376c75e7630
parent41d220441da76c69c1a7d3b58687f0bbf3d8166d (diff)
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
-rwxr-xr-xext/extmk.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 51d8b3e..e9f5eb5 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: