diff --git a/build.py b/build.py index 60b189d2e32c1b92a49199b0dfa13d5723ca2fc3..9987fe838ad46b9b88d023ada3799f71cc009873 100755 --- a/build.py +++ b/build.py @@ -63,6 +63,8 @@ def build(path, args_list): if "using_hb_new=false" in args: cmd = [python_executable, 'build/lite/hb/__main__.py', 'build'] + args_list break + if not os.path.exists(os.path.join(path,'build/hb/main.py')): + cmd = [python_executable, 'build/lite/hb/__main__.py', 'build'] + args_list return check_output(cmd, cwd=path)