Skip to content

Commit 901a3d3

Browse files
Create directory before copy (#32)
Fix #31
1 parent d4fc272 commit 901a3d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

linuxdeploy-plugin-gtk.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ copy_tree() {
5757
local dst="${*:$#}"
5858

5959
for elem in "${src[@]}"; do
60+
mkdir -p "${dst::-1}$elem"
6061
cp "$elem" --archive --parents --target-directory="$dst" $verbose
6162
done
6263
}

0 commit comments

Comments
 (0)