Commit 12387399 authored by Akira Mitsui's avatar Akira Mitsui

fail to debuild

parent 7090b5f0
...@@ -2,11 +2,21 @@ $:.unshift File.dirname(File.dirname(File.expand_path(__FILE__))) ...@@ -2,11 +2,21 @@ $:.unshift File.dirname(File.dirname(File.expand_path(__FILE__)))
require 'test/assert.rb' require 'test/assert.rb'
def cmd(s) 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 end
def shellquote(s) def shellquote(s)
ENV['SHELL'] ? "'#{s}'" : "\"#{s}\"" case RbConfig::CONFIG['host_os']
when /mswin(?!ce)|mingw|cygwin|bccwin/
"\"#{s}\""
else
"'#{s}'"
end
end end
ARGV.each do |gem| ARGV.each do |gem|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment