summaryrefslogtreecommitdiffstats
path: root/snapcraft.yaml
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-04-27 13:23:09 +0300
committerLauri Ojansivu <x@xet7.org>2018-04-27 13:23:09 +0300
commit25668eb7c4ec69b1788c4296950792e38963c834 (patch)
tree05cb349a9bae7e2bb956346ade5ca3c815038331 /snapcraft.yaml
parent11177196e3428ccef7900bffa2a4342b9b03a853 (diff)
downloadwekan-25668eb7c4ec69b1788c4296950792e38963c834.tar.gz
wekan-25668eb7c4ec69b1788c4296950792e38963c834.tar.bz2
wekan-25668eb7c4ec69b1788c4296950792e38963c834.zip
Try to fix snap
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 98e34375..3c1dbb4e 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -138,10 +138,11 @@ parts:
meteor npm install --allow-superuser
meteor build .build --directory --allow-superuser
cp -f fix-download-unicode/cfs_access-point.txt .build/bundle/programs/server/packages/cfs_access-point.js
- pushd .build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt
+ oldpath=`pwd`
+ cd .build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt
rm -rf node_modules/bcrypt
meteor npm install --save bcrypt
- popd
+ cd $oldpath
npm install
meteor npm install --save bcrypt
cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/