Skip to content

Commit 1d40290

Browse files
committed
Use cp -RL on Windows to avoid symbolic link creation failure
1 parent efcb905 commit 1d40290

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

build_scripts/android/build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,5 @@ if [[ $(uname) == "Linux" ]] || [[ $(uname) == "Darwin" ]]; then
8181
else
8282
# rsync has to be specifically installed on windows bash (including github runners)
8383
# Also, rsync with absolute destination path doesn't work on Windows.
84-
# Using a simple copy instead of rsync on Windows.
85-
cp -R --parents "${paths[@]}" "${absbuildpath}"
84+
cp -RL --parents "${paths[@]}" "${absbuildpath}"
8685
fi

0 commit comments

Comments
 (0)