mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 16:05:05 -04:00
Use simple copy to copy the dependencies.
This commit is contained in:
parent
4b8beba7da
commit
a8281e48e0
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue