Merge ~sylvain-pineau/checkbox-limerick/+git/checkbox-limerick-classic:fix-test-runner into ~checkbox-dev/checkbox-limerick/+git/checkbox-limerick-classic:master

Proposed by Sylvain Pineau
Status: Merged
Approved by: Sylvain Pineau
Approved revision: bdbc3c36d21e59eb9d13f2c847a514f96e72a93c
Merged at revision: d735142718af60d3949ec9b768e28fea8816b460
Proposed branch: ~sylvain-pineau/checkbox-limerick/+git/checkbox-limerick-classic:fix-test-runner
Merge into: ~checkbox-dev/checkbox-limerick/+git/checkbox-limerick-classic:master
Diff against target: 12 lines (+1/-1)
1 file modified
launchers/wrapper_local (+1/-1)
Reviewer Review Type Date Requested Status
Sylvain Pineau (community) Approve
Review via email: mp+390671@code.launchpad.net

Description of the change

Fix the test runner app by appending $SNAP/bin to PATH

To post a comment you must log in.
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

self-approved

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/launchers/wrapper_local b/launchers/wrapper_local
2index c03897b..8654ac0 100755
3--- a/launchers/wrapper_local
4+++ b/launchers/wrapper_local
5@@ -31,7 +31,7 @@ export LC_ALL=C.UTF-8
6 PERL_VERSION=$(perl -e '$^V=~/^v(\d+\.\d+)/;print $1')
7 export PERL5LIB="$PERL5LIB:$SNAP/usr/lib/$ARCH/perl/$PERL_VERSION:$SNAP/usr/lib/$ARCH/perl5/$PERL_VERSION:$SNAP/usr/share/perl/$PERL_VERSION:$SNAP/usr/share/perl5"
8 export GI_TYPELIB_PATH=$SNAP/usr/lib/girepository-1.0:$SNAP/usr/lib/$ARCH/girepository-1.0
9-export PATH="$SNAP/usr/bin:$SNAP/usr/sbin:$SNAP/sbin:/snap/bin:$PATH"
10+export PATH="$SNAP/usr/bin:$SNAP/usr/sbin:$SNAP/sbin:/snap/bin:$SNAP/bin:$PATH"
11 export ALSA_CONFIG_PATH=$SNAP/usr/share/alsa/alsa.conf:$SNAP/usr/share/alsa/pcm/default.conf
12 export PYTHONPATH="$SNAP/usr/lib/python3/dist-packages:$PYTHONPATH"
13

Subscribers

People subscribed via source and target branches