# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/gn/version.patch # Copyright (C) 2021 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- Prevent the build from trying to generate a version number using a .git dir --- gn-fe330c0/build/gen.py.vanilla 2023-03-25 18:50:32.390918623 +0100 +++ gn-fe330c0/build/gen.py 2023-03-25 18:51:17.845921623 +0100 @@ -208,9 +208,9 @@ out_dir = options.out_path or os.path.join(REPO_ROOT, 'out') if not os.path.isdir(out_dir): os.makedirs(out_dir) - if not options.no_last_commit_position: - GenerateLastCommitPosition(host, - os.path.join(out_dir, 'last_commit_position.h')) + #if not options.no_last_commit_position: + # GenerateLastCommitPosition(host, + # os.path.join(out_dir, 'last_commit_position.h')) WriteGNNinja(os.path.join(out_dir, 'build.ninja'), platform, host, options, args_list) return 0