Skip to content
Snippets Groups Projects
Commit 32a8f495 authored by Noah Hilverling's avatar Noah Hilverling
Browse files

icinga-provide-go: Use "/home/build" instead of "$HOME" (which resulted in "/root")

parent 1f120ac5
No related branches found
No related tags found
No related merge requests found
Pipeline #18556 passed
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment