From a8281e48e0edbed007e58f10285e031b2f792980 Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Tue, 8 Aug 2023 16:04:01 +0200 Subject: [PATCH] Use simple copy to copy the dependencies. --- src/bin/buildForWindows.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/buildForWindows.sh b/src/bin/buildForWindows.sh index f6b4726df..25506b0fc 100755 --- a/src/bin/buildForWindows.sh +++ b/src/bin/buildForWindows.sh @@ -33,7 +33,8 @@ try export GIT_WORK_TREE=${TMP_FOLDER}; git checkout HEAD -f \ || fatal "failed to copy etherpad to temporary folder" try mkdir "${TMP_FOLDER}"/.git try git rev-parse HEAD >${TMP_FOLDER}/.git/HEAD -try rsync -a ./src/node_modules "${TMP_FOLDER}"/src/ +try cp -r ./src/node_modules "${TMP_FOLDER}"/src/node_modules +try cp -r node_modules "${TMP_FOLDER}"/node_modules try cd "${TMP_FOLDER}" [ -f src/package.json ] || fatal "failed to copy etherpad to temporary folder"