Try to fix rebuild-wekan.sh .

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2022-02-23 10:30:30 +02:00
parent 4a074836fd
commit 90cc96302d

View file

@ -89,14 +89,9 @@ do
meteor npm install
meteor build .build --directory
rm -rf .build/bundle/programs/web.browser.legacy
pushd .build/bundle/programs/server
rm -rf node_modules
chmod u+w *.json
meteor npm install
cd node_modules/fibers
node build.js
(cd .build/bundle/programs/server && rm -rf node_modules && chmod u+w *.json && meteor npm install)
(cd .build/bundle/programs/server/node_modules/fibers && node build.js)
# Cleanup
popd
find . -type d -name '*-garbage*' | xargs rm -rf
find . -name '*phantom*' | xargs rm -rf
find . -name '.*.swp' | xargs rm -f