build script: disable ad-hoc code sign

it requires a different approach to sign application bundles
This commit is contained in:
alexey.lysiuk 2020-12-28 11:00:13 +02:00
parent 302a21f6b6
commit f17e96b248

View file

@ -1776,9 +1776,9 @@ class Builder(object):
# TODO: check if ad-hoc code signing is really needed
# See https://github.com/Homebrew/brew/commit/e945b1c42ab44feb1c6814f47cc833d76b1a921c
if is_executable:
args = ('codesign', '--sign', '-', dst_file)
subprocess.check_call(args)
# if is_executable:
# args = ('codesign', '--sign', '-', dst_file)
# subprocess.check_call(args)
else:
if not Builder._compare_files(src_sub_paths):
print(f'WARNING: Source files for {dst_path + os.sep + src.name} don\'t match')