diff --git a/src/freedombone-utils-go b/src/freedombone-utils-go index a91bb48c..093bc7b1 100755 --- a/src/freedombone-utils-go +++ b/src/freedombone-utils-go @@ -192,7 +192,8 @@ function mesh_upgrade_golang { echo 'Go binary not installed' exit 763562 fi - mv "${rootdir}/home/go/go" "${rootdir}/home/go/go${GO_VERSION}" + # shellcheck disable=SC2086 + mv ${rootdir}/home/go/go ${rootdir}/home/go/go${GO_VERSION} echo "export GOROOT=/home/go" >> "${rootdir}/root/.bashrc" echo "export GOROOT=/home/go" >> "${rootdir}/etc/skel/.bashrc" echo "export GOROOT=/home/go" >> "${rootdir}/home/$MY_USERNAME/.bashrc" @@ -213,6 +214,7 @@ function mesh_upgrade_golang { echo $"golang binaries directory not found ${rootdir}/home/go/go${GO_VERSION}/bin" exit 356356785 fi + ls -la "${rootdir}/home/go/go${GO_VERSION}" # shellcheck disable=SC2086 if ! cp ${rootdir}/home/go/go${GO_VERSION}/bin/* "${rootdir}/usr/bin"; then ls -la "${rootdir}/home/go/go${GO_VERSION}"