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
5050# -----------------------------------------------------------------------------
5151# Constants
5252
53- # TODO: Remove this constant, it's really not helpful.
54- HOME = os .environ .get ("HOME" , "/" )
55-
5653# These versions are community sourced. At any given time only the Xcode
5754# version used by Swift CI is officially supported. See ci.swift.org
5855_SUPPORTED_XCODE_BUILDS = [
@@ -1169,7 +1166,8 @@ def main_preset():
11691166 "build-presets.ini" )
11701167 ]
11711168
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' )
11731171 if os .path .isfile (user_presets_file ):
11741172 args .preset_file_names .append (user_presets_file )
11751173
You can’t perform that action at this time.
0 commit comments