diff --git a/icinga-provide-go b/icinga-provide-go index f4d5141ec4e8f25a4b0a5ce838aebebc603a2dc6..faa2f968eb0fbce8d6fa468e1cc7995fae9e1550 100755 --- a/icinga-provide-go +++ b/icinga-provide-go @@ -16,11 +16,11 @@ echo "Deleting Go Binary Archive" rm -rf go${VERSION_GO}.linux-amd64.tar.gz -if [[ ! -e "$HOME"/.bashrc ]]; then - touch "$HOME"/.bashrc +if [[ ! -e /home/build/.bashrc ]]; then + touch /home/build/.bashrc fi -echo "export PATH=$PATH:/usr/local/go/bin" >> "$HOME"/.bashrc +echo "export PATH=$PATH:/usr/local/go/bin" >> /home/build/.bashrc # shellcheck disable=SC1091 -source "$HOME"/.bashrc +source /home/build/.bashrc