Skip to content
Snippets Groups Projects
Commit 47cdc7be authored by Henrik Triem's avatar Henrik Triem
Browse files

Fix shellcheck stuff

parent c5f07794
No related branches found
No related tags found
No related merge requests found
Pipeline #18494 passed
......@@ -16,10 +16,11 @@ echo "Deleting Go Binary Archive"
sudo rm -rf go${VERSION_GO}.linux-amd64.tar.gz
if [[ ! -e $HOME/.bashrc ]]; then
touch $HOME/.bashrc
if [[ ! -e "$HOME"/.bashrc ]]; then
touch "$HOME"/.bashrc
fi
echo 'export PATH=$PATH:/usr/local/go/bin' >> $HOME/.bashrc
echo "export PATH=$PATH:/usr/local/go/bin" >> "$HOME"/.bashrc
source $HOME/.bashrc
# shellcheck disable=SC1091
source "$HOME"/.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