Permalink
Browse files

try using bin/bash as a shell

  • Loading branch information...
1 parent d9093b5 commit 49ea8f1c6da379d368927e5793a55229e95695fd @svenfuchs svenfuchs committed Dec 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/support/matchers.rb
View
@@ -32,7 +32,7 @@ def asserts?(lines, cmd)
def log_for(script)
File.open('tmp/build.sh', 'w+') { |f| f.write(script) } unless File.exists?('tmp/build.sh')
- system script unless File.exists?('tmp/test.log')
+ system('/bin/bash', '-c', script) unless File.exists?('tmp/test.log')
File.read('tmp/test.log')
end

0 comments on commit 49ea8f1

Please sign in to comment.