aboutsummaryrefslogtreecommitdiffstats
path: root/snap/snapcraft.yaml
diff options
context:
space:
mode:
authorArif Ali <arif.ali@canonical.com>2022-01-27 15:08:55 +0000
committerJake Hunsaker <jhunsake@redhat.com>2022-01-29 12:28:07 -0500
commitf7a508cf17a2380d75ff392db9a9fe15e6934c32 (patch)
tree5f59f907788f9bdc638af25065f9d0417c341b9c /snap/snapcraft.yaml
parent790d6d65879f64f2f5ca760db4242cd3a61693a5 (diff)
downloadsos-f7a508cf17a2380d75ff392db9a9fe15e6934c32.tar.gz
[snapcraft] Update snapcraft.yaml
After testing directly from snapcraft server, there was an issue wrt classic snaps and paths. This update resolved this particular issue Signed-off-by: Arif Ali <arif.ali@canonical.com>
Diffstat (limited to 'snap/snapcraft.yaml')
-rw-r--r--snap/snapcraft.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 570c3302..f8ecdaa8 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -25,13 +25,13 @@ parts:
apps:
sos:
environment:
- PYTHONPATH: ${SNAP}/lib/python3.8
+ PYTHONPATH: ${PYTHONPATH}:${SNAP}/lib/python3.8
command: bin/sos
sosreport:
environment:
- PYTHONPATH: ${SNAP}/lib/python3.8
+ PYTHONPATH: ${PYTHONPATH}:${SNAP}/lib/python3.8
command: bin/sos report
sos-collector:
environment:
- PYTHONPATH: ${SNAP}/lib/python3.8
+ PYTHONPATH: ${PYTHONPATH}:${SNAP}/lib/python3.8
command: bin/sos collector