Also use / above.

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

View File

@ -92,7 +92,7 @@ module Cask
if target.directory?
if target.writable?
source.children.each { |child| FileUtils.move(child, target + child.basename) }
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],