File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-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 = [
@@ -1168,7 +1165,7 @@ def main_preset():
1168
1165
"build-presets.ini" )
1169
1166
]
1170
1167
1171
- user_presets_file = os .path .join (HOME , '.swift-build-presets' )
1168
+ user_presets_file = os .path .join (os . getenv ( " HOME" , "/" ) , '.swift-build-presets' )
1172
1169
if os .path .isfile (user_presets_file ):
1173
1170
args .preset_file_names .append (user_presets_file )
1174
1171
You can’t perform that action at this time.
0 commit comments