18870: Fix typo
authorPeter Amstutz <peter.amstutz@curii.com>
Mon, 27 Jun 2022 20:37:39 +0000 (16:37 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Tue, 28 Jun 2022 18:20:36 +0000 (14:20 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

tools/salt-install/installer.sh

index 1bcfa145053f4a3c94ffd10baf0e10028b4ccb72..17890d646efb272b760d0beb0cbd4aef92dcb4cd 100755 (executable)
@@ -10,7 +10,7 @@ declare -A NODES
 
 sync() {
     if [[ "$NODE" != localhost ]] ; then
 
 sync() {
     if [[ "$NODE" != localhost ]] ; then
-       if ! ssh $NODE test -d ${TARGET}.git ; then
+       if ! ssh $NODE test -d ${GITTARGET}.git ; then
            ssh $NODE git init --bare ${GITTARGET}.git
            if ! git remote add $NODE $DEPLOY_USER@$NODE:${GITTARGET}.git ; then
                git remote set-url $NODE $DEPLOY_USER@$NODE:${GITTARGET}.git
            ssh $NODE git init --bare ${GITTARGET}.git
            if ! git remote add $NODE $DEPLOY_USER@$NODE:${GITTARGET}.git ; then
                git remote set-url $NODE $DEPLOY_USER@$NODE:${GITTARGET}.git