Skip to content

Commit

Permalink
Merge pull request #296 from meyouhealth/multiple-helpers
Browse files Browse the repository at this point in the history
Fixing error when using more than one helper
  • Loading branch information
fnichol committed Dec 19, 2013
2 parents edac45e + c8c0df9 commit cadd416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kitchen/busser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def sync_cmd
sync_cmd << busser_setup_env
sync_cmd << "#{sudo}#{config[:busser_bin]} suite cleanup"
sync_cmd << "#{local_suite_files.map { |f| stream_file(f, remote_file(f, config[:suite_name])) }.join("; ")}"
sync_cmd << "#{helper_files.map { |f| stream_file(f, remote_file(f, "helpers")) }.join}"
sync_cmd << "#{helper_files.map { |f| stream_file(f, remote_file(f, "helpers")) }.join("; ")}"

# use Bourne (/bin/sh) as Bash does not exist on all Unix flavors
"sh -c '#{sync_cmd.join('; ')}'"
Expand Down

0 comments on commit cadd416

Please sign in to comment.