diff --git a/build_helper.py b/build_helper.py index e4da83bb5bd88049c24db843c74159debde9cd90..356427b1592f0449c6b91c53e43190378d363b21 100755 --- a/build_helper.py +++ b/build_helper.py @@ -160,23 +160,26 @@ def main_work(): patch_dir = os.path.realpath(args['patch_dir']) md5_dir = os.path.join(out_src_path, "patches_md5") + print("zhl11111111111111111") if source_has_changed(out_src_path, patch_dir, md5_dir): + print("zhl222222222222222222") print("remove ", out_src_path) if os.path.exists(out_src_path): shutil.rmtree(out_src_path) save_md5s(patch_dir, md5_dir) - + print("zhl333333333333333") if os.path.exists(os.path.join(out_src_path, ".status")): print("patch files not changed and " + os.path.join(out_src_path, ".status") + " exists.") return + print("zhl44444444444444") os.makedirs(out_src_path, exist_ok=True) out_src_path = os.path.realpath(out_src_path) extract_source(in_zip_path, out_src_path) do_patch(patch_dir, out_src_path + '/source/') - + print("zhl5555555555555555") create_status_file(out_src_path)