Copy src folder only.

This commit is contained in:
SamTV12345 2023-08-08 16:09:53 +02:00
parent a8281e48e0
commit 1ce25fd5e5
No known key found for this signature in database
GPG key ID: E63EEC7466038043

View file

@ -34,7 +34,6 @@ try export GIT_WORK_TREE=${TMP_FOLDER}; git checkout HEAD -f \
try mkdir "${TMP_FOLDER}"/.git
try git rev-parse HEAD >${TMP_FOLDER}/.git/HEAD
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"