From 820a8caf5a9894b1a54305256294134986be6d90 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sun, 3 May 2026 22:37:04 -0700 Subject: [PATCH] Fix a merge issue that impacted where the script was set --- build.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/build.py b/build.py index bff5e17..6598e53 100644 --- a/build.py +++ b/build.py @@ -1172,17 +1172,6 @@ def _handleCustomCommandForBazelGen( logging.info(f"{arg} not found in the output hope it's ok") alteredArgs.append(arg) - regex = r"^.*/bin/python3(?:\.\d+)?$" - if re.match(regex, command): - command = "python3" - - script = [] - - if command.endswith(".py"): - # Replace command by python3 and pass the script as first argument - script.append(f"$(location {command})") - command = "python3" - # In theory it would be a good idea to not have to genbuild the script that will be used # by the sh_binary # toolBuildTarget is a genrule() rule for building the wrapper around the command that