Use / for path concatenation.

This commit is contained in:
JBYoshi 2023-05-11 12:46:05 -05:00
parent a1780c842c
commit d0e64e2c57
No known key found for this signature in database
GPG Key ID: AE4430116622D05D

View File

@ -95,7 +95,7 @@ module Cask
source.children.each { |child| FileUtils.move(child, target + child.basename) }
else
source.children.each do |child|
command.run!("/bin/cp", args: ["-pR", child, target + child.basename],
command.run!("/bin/cp", args: ["-pR", child, target/child.basename],
sudo: true)
end
end