core/pkgs/by-name/sc/scons/env.patch

10 lines
362 B
Diff
Raw Permalink Normal View History

2024-05-02 00:46:19 +00:00
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"]