From 0349c88837135c54cb1629b1631f5988a9a3f873 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 3 Mar 2018 12:09:59 +0000 Subject: [PATCH] Try move without quotes --- src/freedombone-utils-go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}"