File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
ReleaseTooling/Sources/Utils Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -62,16 +62,9 @@ public extension Shell {
62
62
// Write the temporary script contents to the script's path. CocoaPods complains when LANG
63
63
// isn't set in the environment, so explicitly set it here. The `/usr/local/git/current/bin`
64
64
// is to allow the `sso` protocol if it's there.
65
- // The user's .bash_profile, if it exists, is sourced to modify the
66
- // shell's PATH with any configuration (e.g. adding Ruby to path)
67
- // that may be needed to run the given command.
68
65
let contents = """
69
66
export PATH= " /usr/local/bin:/usr/local/git/current/bin:$PATH "
70
67
export LANG= " en_US.UTF-8 "
71
- BASH_PROFILE_PATH= " ~/.bash_profile "
72
- if [ -f " $BASH_PROFILE_PATH " ]; then
73
- source $BASH_PROFILE_PATH
74
- fi
75
68
\( command)
76
69
"""
77
70
try contents. write ( to: scriptPath, atomically: true , encoding: . utf8)
You can’t perform that action at this time.
0 commit comments