Skip to content

Commit

Permalink
Merge pull request #384 from Sqeaky/master
Browse files Browse the repository at this point in the history
call to `strings` in gem/server compatibility should work on paths with spaces
  • Loading branch information
jmoody committed May 29, 2014
2 parents 8028a0f + 01a9360 commit 5713d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calabash-cucumber/lib/calabash-cucumber/launcher.rb
Expand Up @@ -624,7 +624,7 @@ def server_version_from_bundle(app_bundle_path)

server_version = nil
exe_paths.each do |path|
server_version_string = `strings #{path} | grep -E 'CALABASH VERSION'`.chomp!
server_version_string = `strings "#{path}" | grep -E 'CALABASH VERSION'`.chomp!
if server_version_string
server_version = server_version_string.split(' ').last
break
Expand Down

0 comments on commit 5713d1b

Please sign in to comment.