mirror of
https://github.com/openharmony/build_lite.git
synced 2026-07-21 03:45:26 -04:00
+4
-1
@@ -46,7 +46,10 @@ def get_hb_commands(config_file):
|
||||
|
||||
|
||||
def main():
|
||||
topdir = find_top()
|
||||
try:
|
||||
topdir = find_top()
|
||||
except Exception as ex:
|
||||
return print("hb_error: Please call hb utilities inside source root directory")
|
||||
sys.path.insert(0, os.path.join(topdir, 'build/lite'))
|
||||
parser = argparse.ArgumentParser(description='OHOS Build System '
|
||||
f'version {VERSION}')
|
||||
|
||||
Reference in New Issue
Block a user