Skip to content

Commit 172a573

Browse files
authored
Fix: use the same python executable to run backport-languages.py (#7)
1 parent e7216da commit 172a573

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backport/backport.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,9 @@ def main():
227227
print("")
228228
print("Done cherry-picking")
229229
print("Backporting language changes")
230-
res = do_command(["python3", os.path.dirname(os.path.realpath(__file__)) + "/backport-languages.py"])
230+
res = do_command(
231+
[sys.executable or "python3", os.path.dirname(os.path.realpath(__file__)) + "/backport-languages.py"]
232+
)
231233
if res.returncode != 0:
232234
print("ERROR: backporting language changes failed")
233235
return

0 commit comments

Comments
 (0)