Commit 5b456e53 authored by Jérome Perrin's avatar Jérome Perrin

component/defaults: fix python path for theia case

/srv/slapgrid/slappart3/srv/project/pylint/venv/bin:/srv/slapgrid/slappart3/.cargo:/srv/slapgrid/slappart3/.theia/extensions/timonwong.shellcheck-0.17.0/extension/binaries/linux/x64:/srv/slapgrid/slappart3/.cargo/bin:/srv/slapgrid/slappart3/.nvm/versions/node/v16.4.2/bin:/opt/slapgrid/fbae8cd9590bf0fb683c91ef922649c2/bin:/srv/slapgrid/slappart3/tmp/yarn--1638346718030-0.1097475920808304:/opt/slapgrid/fbae8cd9590bf0fb683c91ef922649c2/parts/theia/node_modules/.bin:/srv/slapgrid/slappart3/.config/yarn/link/node_modules/.bin:/srv/slapgrid/slappart3/.yarn/bin:/opt/slapos-shared/nodejs/f341e6fec2c3dc1fc8277790afac45cd/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/slapos-shared/nodejs/f341e6fec2c3dc1fc8277790afac45cd/lib/node_modules/npm/bin/node-gyp-bin:/opt/slapos-shared/nodejs/f341e6fec2c3dc1fc8277790afac45cd/bin/node_modules/npm/bin/node-gyp-bin:/opt/slapos-shared/nodejs/f341e6fec2c3dc1fc8277790afac45cd/bin/:/opt/slapgrid/fbae8cd9590bf0fb683c91ef922649c2/parts/python-language-server/bin:/opt/slapos-shared/java-jdk/77662180d0b082a1755c8e3c20b1a7d4/bin:/opt/slapos-shared/nodejs/f341e6fec2c3dc1fc8277790afac45cd/bin:/opt/slapos-shared/bash/8b379cc6fa4c2e1811a16aa07ef52710/bin:/opt/slapos-shared/fish-shell/2f13edb0b38c2cbe60096b0b18004877/bin:/opt/slapos-shared/tig/1b9bfec7b2aba957c226772849a880d9/bin:/opt/slapos-shared/vim/e2b92bfc130be6887fc6fb8182784b0c/bin:/opt/slapos-shared/tmux/82d6a0598a68fd4a0266b6e7fe880bf0/bin:/opt/slapos-shared/git/433839314ed713e44ee4cb310073d371/bin:/opt/slapos-shared/curl/574739ed58990f0c57aa1c5136da04b8/bin:/opt/slapos-shared/python2.7/472516e8adaf6eba0e4aaef56b366212/bin:/opt/slapgrid/fbae8cd9590bf0fb683c91ef922649c2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
parent a32ba965
......@@ -21,7 +21,7 @@ update =
import os
path, os.environ['PYTHON'] = os.path.split(options['executable'])
PATH = os.environ['PATH']
if path not in PATH.split(os.pathsep):
if path != PATH.split(os.pathsep)[0]:
os.environ['PATH'] = path + os.pathsep + PATH
depends = ${gcc:recipe}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment