mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-26 07:13:55 +01:00
projects.py: Fix broken get_os.sh path detection
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
468264f640
commit
ed86a8957f
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ def remove_duplicates(seq):
|
||||||
return [x for x in seq if not (x in seen or seen_add(x))]
|
return [x for x in seq if not (x in seen or seen_add(x))]
|
||||||
|
|
||||||
def get_os(args = ""):
|
def get_os(args = ""):
|
||||||
for d in [ projs_root + 'ytools/devutil/scripts', '/opt/ytools/bin' ]:
|
for d in [ projs_root + '/ytools/devutil/scripts', '/opt/ytools/bin' ]:
|
||||||
script = d + '/get_os.sh'
|
script = d + '/get_os.sh'
|
||||||
if isfile(script):
|
if isfile(script):
|
||||||
cmd = '/bin/bash ' + script
|
cmd = '/bin/bash ' + script
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue