[neon/snap-packaging/kde-qt6-snap] /: fix: use the correct snap name in override-stage

Alex Lowe null at kde.org
Tue Apr 2 16:15:47 BST 2024


Git commit 2bcb07ff7481cf8a5fac05eb5692634fb55a3fde by Alex Lowe.
Committed on 29/03/2024 at 17:58.
Pushed by scarlettmoore into branch 'master'.

fix: use the correct snap name in override-stage

M  +1    -1    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kde-qt6-snap/-/commit/2bcb07ff7481cf8a5fac05eb5692634fb55a3fde

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 95cacf3..178da35 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -318,5 +318,5 @@ parts:
       - libxkbfile1
     override-stage: |
       craftctl default
-      find $CRAFT_STAGE -type f,l -name "*.pc" -exec bash -c "sed -i 's:/root/stage:/snap/kde-qt6-sdk/current:g' {}*" \;
+      find $CRAFT_STAGE -type f,l -name "*.pc" -exec bash -c "sed -i 's:/root/stage:/snap/$CRAFT_PROJECT_NAME/current:g' {}*" \;
 


More information about the Neon-commits mailing list