File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER
50
50
- Some manpage cleanup for the gettext and pdf/ps builders.
51
51
- Some clarifications in the User Guide "Environments" chapter.
52
52
53
+ From Alex James:
54
+ - On Darwin, PermissionErrors are now handled while trying to access
55
+ /etc/paths.d. This may occur if SCons is invoked in a sandboxed
56
+ environment (such as Nix).
57
+
53
58
54
59
RELEASE 4.8.1 - Tue, 03 Sep 2024 17:22:20 -0700
55
60
Original file line number Diff line number Diff line change 46
46
- Fix a problem with compilation_db component initialization - the
47
47
entries for assembler files were not being set up correctly.
48
48
49
+ - On Darwin, PermissionErrors are now handled while trying to access
50
+ /etc/paths.d. This may occur if SCons is invoked in a sandboxed environment
51
+ (such as Nix).
52
+
49
53
IMPROVEMENTS
50
54
------------
51
55
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def generate(env) -> None:
46
46
# make sure this works on Macs with Tiger or earlier
47
47
try :
48
48
dirlist = os .listdir ('/etc/paths.d' )
49
- except FileNotFoundError :
49
+ except ( FileNotFoundError , PermissionError ) :
50
50
dirlist = []
51
51
52
52
for file in dirlist :
You can’t perform that action at this time.
0 commit comments