Przeglądaj źródła

Try to fix snap.

Lauri Ojansivu 7 lat temu
rodzic
commit
6d21ffe660
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      snapcraft.yaml

+ 2 - 2
snapcraft.yaml

@@ -138,10 +138,10 @@ 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
-            cd .build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt
+            pushd .build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt
             rm -rf node_modules/bcrypt
             meteor npm install --save bcrypt
-            cd ../../../../
+            popd
             npm install
             meteor npm install --save bcrypt
             cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/