[neon/snap-packaging/kde-qt6-core-sdk/work.core24] /: double quotes to set string to literal values.

Scarlett Moore null at kde.org
Mon Dec 30 17:36:53 GMT 2024


Git commit b72e2eea7e619098cbc3e3acb4c7489fe56b17b3 by Scarlett Moore.
Committed on 30/12/2024 at 17:36.
Pushed by scarlettmoore into branch 'work.core24'.

double quotes to set string to literal values.

M  +1    -1    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/commit/b72e2eea7e619098cbc3e3acb4c7489fe56b17b3

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 89e4aef..12a0d24 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