Merge pull request #3007 from mruby-debian/fix/fail_to_package_build

fail to debuild
This commit is contained in:
Yukihiro "Matz" Matsumoto
2015-11-10 01:20:09 +09:00
+12 -2
View File
@@ -2,11 +2,21 @@ $:.unshift File.dirname(File.dirname(File.expand_path(__FILE__)))
require 'test/assert.rb'
def cmd(s)
ENV['SHELL'] ? "bin/#{s}" : "bin\\#{s}.exe"
case RbConfig::CONFIG['host_os']
when /mswin(?!ce)|mingw|cygwin|bccwin/
"bin\\#{s}.exe"
else
"bin/#{s}"
end
end
def shellquote(s)
ENV['SHELL'] ? "'#{s}'" : "\"#{s}\""
case RbConfig::CONFIG['host_os']
when /mswin(?!ce)|mingw|cygwin|bccwin/
"\"#{s}\""
else
"'#{s}'"
end
end
ARGV.each do |gem|