• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

mrubyを超漢字で動作させる


Commit MetaInfo

Revisão0c4218b70498fd016eec916f995f28af8e9fce5b (tree)
Hora2015-11-10 01:20:09
AutorYukihiro "Matz" Matsumoto <matz@ruby...>
CommiterYukihiro "Matz" Matsumoto

Mensagem de Log

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

fail to debuild

Mudança Sumário

Diff

--- a/test/bintest.rb
+++ b/test/bintest.rb
@@ -2,11 +2,21 @@ $:.unshift File.dirname(File.dirname(File.expand_path(__FILE__)))
22 require 'test/assert.rb'
33
44 def cmd(s)
5- ENV['SHELL'] ? "bin/#{s}" : "bin\\#{s}.exe"
5+ case RbConfig::CONFIG['host_os']
6+ when /mswin(?!ce)|mingw|cygwin|bccwin/
7+ "bin\\#{s}.exe"
8+ else
9+ "bin/#{s}"
10+ end
611 end
712
813 def shellquote(s)
9- ENV['SHELL'] ? "'#{s}'" : "\"#{s}\""
14+ case RbConfig::CONFIG['host_os']
15+ when /mswin(?!ce)|mingw|cygwin|bccwin/
16+ "\"#{s}\""
17+ else
18+ "'#{s}'"
19+ end
1020 end
1121
1222 ARGV.each do |gem|