1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

windows can't handle sh() properly

git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@863 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
evanweaver 2007-11-01 04:21:02 +00:00
parent b3f71e23e0
commit 1c1343b05b

View file

@ -118,7 +118,9 @@ end
def sub_project(project, *targets)
targets.each do |target|
Dir.chdir "projects/#{project}" do
sh %{rake --trace #{target.to_s} }
unless RUBY_PLATFORM =~ /mswin/
sh %{rake --trace #{target.to_s} }
end
end
end
end