at master 9 lines 362 B view raw
1diff --git a/SCons/Platform/posix.py b/SCons/Platform/posix.py 2index 4c9f8f9ba..d68da1b08 100644 3--- a/SCons/Platform/posix.py 4+++ b/SCons/Platform/posix.py 5@@ -30,0 +31 @@ selection method. 6+import os 7@@ -87 +88 @@ def generate(env): 8- env['ENV']['PATH'] = '/usr/local/bin:/opt/bin:/bin:/usr/bin:/snap/bin' 9+ env['ENV']['PATH'] = os.environ["PATH"]