File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -50,9 +50,6 @@ from swift_build_support.swift_build_support.toolchain import host_toolchain
50
50
# -----------------------------------------------------------------------------
51
51
# Constants
52
52
53
- # TODO: Remove this constant, it's really not helpful.
54
- HOME = os .environ .get ("HOME" , "/" )
55
-
56
53
# These versions are community sourced. At any given time only the Xcode
57
54
# version used by Swift CI is officially supported. See ci.swift.org
58
55
_SUPPORTED_XCODE_BUILDS = [
@@ -1169,7 +1166,8 @@ def main_preset():
1169
1166
"build-presets.ini" )
1170
1167
]
1171
1168
1172
- user_presets_file = os .path .join (HOME , '.swift-build-presets' )
1169
+ user_presets_file = os .path .join (os .getenv ("HOME" , "/" ),
1170
+ '.swift-build-presets' )
1173
1171
if os .path .isfile (user_presets_file ):
1174
1172
args .preset_file_names .append (user_presets_file )
1175
1173
You can’t perform that action at this time.
0 commit comments