mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #3007 from mruby-debian/fix/fail_to_package_build
fail to debuild
This commit is contained in:
+12
-2
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user