Commit cd182c2d authored by Oliver Horst's avatar Oliver Horst
Browse files

[chg] Enabled support for sparse toki checkouts

parent 36ddd478
def relative_externalsrc (d, rel_src_dir):
if d.getVar('TOKI_SRC_DIR'):
toki_src_dir = d.getVar('TOKI_SRC_DIR')
return os.path.realpath(os.path.join(toki_src_dir, rel_src_dir))
path = os.path.realpath(os.path.join(toki_src_dir, rel_src_dir))
return path if os.path.isdir(path) else ""
return ""
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