[neon/snap-packaging/kde-qt6-core-sdk/work.core24] /: Double escape sed line.
Scarlett Moore
null at kde.org
Mon Dec 30 12:35:06 GMT 2024
Git commit cc6956f530d22e2f62baf5e870e24c1f2d2d4f0e by Scarlett Moore.
Committed on 30/12/2024 at 12:34.
Pushed by scarlettmoore into branch 'work.core24'.
Double escape sed line.
M +1 -1 snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/commit/cc6956f530d22e2f62baf5e870e24c1f2d2d4f0e
diff --git a/snapcraft.yaml b/snapcraft.yaml
index eafc478..89e4aef 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