From e453dac63bd20abc5a663dca2556ae31cf62a08d Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Sat, 21 Mar 2026 07:37:48 -0300 Subject: [PATCH] tools: Forgot to exclude Windows from a section --- tools/in-build-gimp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/in-build-gimp.py b/tools/in-build-gimp.py index 9029ad5256..3827c7c0fc 100644 --- a/tools/in-build-gimp.py +++ b/tools/in-build-gimp.py @@ -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)