1 diff --git a/SCons/Platform/posix.py b/SCons/Platform/posix.py
2 index 4c9f8f9ba..d68da1b08 100644
3 --- a/SCons/Platform/posix.py
4 +++ b/SCons/Platform/posix.py
5 @@ -30,0 +31 @@ selection method.
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"]