[neon/snap-packaging/kde-qt6-core-sdk/work.core24] /: Fix syntax...
Scarlett Moore
null at kde.org
Sun Dec 29 15:41:05 GMT 2024
Git commit 2ba9bc7b7edabfb95add188cf9c9a5fb93cd3c6d by Scarlett Moore.
Committed on 29/12/2024 at 15:40.
Pushed by scarlettmoore into branch 'work.core24'.
Fix syntax...
M +1 -1 snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/commit/2ba9bc7b7edabfb95add188cf9c9a5fb93cd3c6d
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 3a0fc13..eafc478 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -412,7 +412,7 @@ parts:
find $CRAFT_STAGE -type f,l -name "*.pc" -exec bash -c "sed -i 's:/root/stage:/snap/$CRAFT_PROJECT_NAME/current:g' {}*" \;
find $CRAFT_STAGE -type f,l -name "*.pc" -exec bash -c "sed -i 's:libdir=/usr:libdir=/snap/$CRAFT_PROJECT_NAME/current/usr:g' {}*" \;
find $CRAFT_STAGE -type f,l -name "*.pc" -exec bash -c "sed -i 's:includedir=/usr:includedir=/snap/$CRAFT_PROJECT_NAME/current/usr:g' {}*" \;
- find $CRAFT_STAGE -type f,l -name "*.pc" -exec bash -c "sed -i 's:pkgdatadir=${pc_sysrootdir}${datarootdir}:pkgdatadir=${datarootdir}:g' {}*" \;
+ find $CRAFT_STAGE -type f,l -name "*.pc" -exec bash -c "sed -i 's:pkgdatadir=\$\{pc_sysrootdir\}\$\{datarootdir\}:pkgdatadir=\$\{datarootdir\}:g' {}*" \;
cleanup:
plugin: nil
More information about the Neon-commits
mailing list