tools: Forgot to exclude Windows from a section

This commit is contained in:
Bruno Lopes 2026-03-21 07:37:48 -03:00
parent 8427c76467
commit e453dac63b

View file

@ -67,7 +67,7 @@ try:
print(f"RUNNING: {os.environ['GIMP_SELF_IN_BUILD']} {' '.join(sys.argv[1:])}")
subprocess.run([os.environ["GIMP_SELF_IN_BUILD"]] + sys.argv[1:],stdin=sys.stdin, check=True)
if different_python:
if sys.platform not in ['win32', 'cygwin'] and different_python:
os.environ["PATH"] = os.pathsep.join([p for p in os.environ["PATH"].split(os.pathsep) if p != tmp_path])
shutil.rmtree(tmp_path, ignore_errors=True)