18870: Fix typo
authorPeter Amstutz <peter.amstutz@curii.com>
Mon, 27 Jun 2022 01:23:24 +0000 (21:23 -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 6fdd0320feb0370a54752a6bba1c1e069167d1ca..90584b36fc2cafe32273035edac3ea5112e1ae6f 100755 (executable)
@@ -7,9 +7,7 @@
 set -e
 
 sync() {
 set -e
 
 sync() {
-    if test $NODE = localhost ; then
-       # nothing to do
-    else
+    if test "$NODE" != localhost ; then
        if ! ssh $NODE test -d arvados-setup ; then
            ssh $NODE git init --bare arvados-setup.git
            if ! git remote add $NODE $DEPLOY_USER@$NODE:arvados-setup.git ; then
        if ! ssh $NODE test -d arvados-setup ; then
            ssh $NODE git init --bare arvados-setup.git
            if ! git remote add $NODE $DEPLOY_USER@$NODE:arvados-setup.git ; then