mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
parent
1116c5f85f
commit
c665be18f6
@ -94,6 +94,8 @@ _top_dir = None
|
||||
def _top():
|
||||
if _top_dir is None:
|
||||
top = path.dirname(sys.argv[0])
|
||||
if top.endswith('source-builder/sb'):
|
||||
top = path.dirname(path.dirname(top))
|
||||
else:
|
||||
top = _top_dir
|
||||
if len(top) == 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user