summaryrefslogtreecommitdiff
path: root/snap/snapcraft.yaml
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-06-24 17:52:00 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-06-24 17:52:00 +0200
commitc6790ce56ef6b7ae50c86a2327e9ba5c46a5287e (patch)
tree26d8e57f2a499b92152ece4ff17ffd4a9f7c3962 /snap/snapcraft.yaml
parent3d0af26a947d4cf62bc2b8ffffcac446bb228e8b (diff)
attempt to fix path for desktop file
Diffstat (limited to 'snap/snapcraft.yaml')
-rw-r--r--snap/snapcraft.yaml5
1 files changed, 2 insertions, 3 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 3f4d69c..05809ab 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -62,9 +62,8 @@ parts:
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
pwd
ls -la ..
- # TODO use the right PROJECTDIR env var
- cat ../../../project/snap/local/bitmask-vpn.desktop
- cp ../../../project/snap/local/bitmask-vpn.desktop ../../../prime/riseup-vpn.desktop
+ cat $SNAPCRAFT_PROJECT_DIR/snap/local/bitmask-vpn.desktop
+ cp $SNAPCRAFT_PROJECT_DIR/snap/local/bitmask-vpn.desktop $SNAPCRAFT_PRIME/riseup-vpn.desktop
snapcraftctl build
build-packages:
- pkg-config