Skip to content

Commit

Permalink
fix: missing sudo (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
lockwobr authored Jan 13, 2023
1 parent f6eddae commit c28645a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fi
echo "Installing the requested version of Go."

curl --fail --location -sS "https://dl.google.com/go/go${ORB_VAL_VERSION}.${OSD_FAMILY}-${HOSTTYPE}.tar.gz" \
| sudo tar --no-same-owner --strip-components=1 --gunzip -x -C /usr/local/go/
| $SUDO tar --no-same-owner --strip-components=1 --gunzip -x -C /usr/local/go/

echo "export PATH=$PATH:/usr/local/go/bin" >> "$BASH_ENV"
$SUDO chown -R "$(whoami)": /usr/local/go
Expand Down

0 comments on commit c28645a

Please sign in to comment.