summaryrefslogtreecommitdiffstats
path: root/snapcraft.yaml
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-04-27 18:14:36 +0300
committerLauri Ojansivu <x@xet7.org>2018-04-27 18:14:36 +0300
commitdf91d1e6329c1d3ae3c6e1cfdebc1d114af6c9c4 (patch)
tree41063c1961619b885bf45360e14baad140c61dc2 /snapcraft.yaml
parentbe61904a1e67fcbedf03076d9c6495315193ff32 (diff)
parent1f42aac19f6e35ffe4eec582d6509ee8bf1eb151 (diff)
downloadwekan-df91d1e6329c1d3ae3c6e1cfdebc1d114af6c9c4.tar.gz
wekan-df91d1e6329c1d3ae3c6e1cfdebc1d114af6c9c4.tar.bz2
wekan-df91d1e6329c1d3ae3c6e1cfdebc1d114af6c9c4.zip
Merge branch 'devel'
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 3c1dbb4e..088e1524 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -138,13 +138,15 @@ 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
- oldpath=`pwd`
cd .build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt
rm -rf node_modules/bcrypt
meteor npm install --save bcrypt
- cd $oldpath
+ # Change to directory .build/bundle/programs/server
+ cd ../../../../
npm install
meteor npm install --save bcrypt
+ # Change back to Wekan source directory
+ cd ../../../..
cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/
cp .build/bundle/.node_version.txt $SNAPCRAFT_PART_INSTALL/
rm $SNAPCRAFT_PART_INSTALL/lib/node_modules/wekan