Skip to content

Commit

Permalink
helpers: Pass HOME to goenv init
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamandar committed Jan 5, 2025
1 parent 6388ef7 commit 50525ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helpers/helpers.v1.d/go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ eval \"\$(goenv init -)\"
#goenv" > /etc/profile.d/goenv.sh

# Load the environment
eval "$(goenv init -)"
HOME=$install_dir eval "$(goenv init -)"
}

# Remove the version of Go used by the app.
Expand Down
2 changes: 1 addition & 1 deletion helpers/helpers.v2.1.d/go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ eval \"\$(goenv init -)\"
#goenv" > /etc/profile.d/goenv.sh

# Load the environment
eval "$(goenv init -)"
HOME=$install_dir eval "$(goenv init -)"

_ynh_load_go_in_path_and_other_tweaks
}
Expand Down

0 comments on commit 50525ee

Please sign in to comment.