core/pkgs/by-name/sc/scons/env.patch
2024-05-13 11:34:52 -04:00

10 lines
362 B
Diff

diff --git a/SCons/Platform/posix.py b/SCons/Platform/posix.py
index 4c9f8f9ba..d68da1b08 100644
--- a/SCons/Platform/posix.py
+++ b/SCons/Platform/posix.py
@@ -30,0 +31 @@ selection method.
+import os
@@ -87 +88 @@ def generate(env):
- env['ENV']['PATH'] = '/usr/local/bin:/opt/bin:/bin:/usr/bin:/snap/bin'
+ env['ENV']['PATH'] = os.environ["PATH"]