Skip to content

Commit

Permalink
Merge pull request #578 from cassianoleal/patch-1
Browse files Browse the repository at this point in the history
Fix copying module files to guest
  • Loading branch information
kevpl committed Dec 29, 2014
2 parents 6982674 + a99c728 commit d868494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/beaker/host.rb
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def do_scp_to source, target, options
ignore_re = nil
if has_ignore
ignore_arr = Array(options[:ignore]).map do |entry|
"((\/|\\A)#{entry}(\/|\\z))".sub(/\./, "\.")
"((\/|\\A)#{entry}(\/|\\z))".gsub(/\./, '\.')
end
ignore_re = Regexp.new(ignore_arr.join('|'))
end
Expand Down

0 comments on commit d868494

Please sign in to comment.