Skip to content

Commit

Permalink
When fixing up pkg-config .pc files don't assume the stage path
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Murray <murray.alex@gmail.com>
  • Loading branch information
alexmurray committed Mar 13, 2024
1 parent b7a5928 commit 900dc1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ parts:
gzip usr/share/emacs/*/lisp/emacs-lisp/comp.el
# fix up paths in the various pkg-config files that we ship
find $SNAPCRAFT_STAGE -name *.pc -exec sed -i 's|prefix=/root/stage|prefix=/snap/emacs/current|' {} \;
find $SNAPCRAFT_STAGE -name *.pc -exec sed -i "s|prefix=$SNAPCRAFT_STAGE|prefix=/snap/emacs/current|" {} \;
site-lisp:
source: site-lisp
plugin: dump
Expand Down

0 comments on commit 900dc1b

Please sign in to comment.