projects.py: Fix broken get_os.sh path detection

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-03-25 14:22:49 +00:00
commit ed86a8957f

View file

@ -42,7 +42,7 @@ def remove_duplicates(seq):
return [x for x in seq if not (x in seen or seen_add(x))]
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'
if isfile(script):
cmd = '/bin/bash ' + script