[neon/snap-packaging/kde-qt6-core-sdk] /: Fix extra quote in pkgconfig sed line..

Scarlett Moore null at kde.org
Mon Jun 3 12:52:40 BST 2024


Git commit 52ef3d59d8c9ea7adf2cb19aececa3767ba22055 by Scarlett Moore.
Committed on 03/06/2024 at 11:51.
Pushed by scarlettmoore into branch 'master'.

Fix extra quote in pkgconfig sed line..

M  +1    -1    snapcraft.yaml

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

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 7d68029..25c805a 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -389,7 +389,7 @@ parts:
     after: [debs]
     override-stage: |
       set -eux
-      find $CRAFT_PRIME -type f,l -name "*.pc" -exec bash -c "sed -i 's|^prefix=.*$|prefix=/snap/$CRAFT_PROJECT_NAME/current/usr|g'' {}*" \;
+      find $CRAFT_PRIME -type f,l -name "*.pc" -exec bash -c "sed -i 's|^prefix=.*$|prefix=/snap/$CRAFT_PROJECT_NAME/current/usr|g' {}*" \;
       find $CRAFT_PRIME -type f,l -name "*.pc" -exec bash -c "sed -i 's|libdir=/usr|libdir=/snap/$CRAFT_PROJECT_NAME/current/usr|g' {}*" \;
       find $CRAFT_PRIME -type f,l -name "*.pc" -exec bash -c "sed -i 's|includedir=/usr|includedir=/snap/$CRAFT_PROJECT_NAME/current/usr|g' {}*" \;
       find $CRAFT_PRIME -type f,l -name "*.pc" -exec bash -c "sed -i 's|exec_prefix=/usr|exec_prefix=/snap/$CRAFT_PROJECT_NAME/current/usr|g' {}*" \;


More information about the Neon-commits mailing list