From: Don Armstrong Date: Wed, 6 May 2015 16:31:45 +0000 (-0700) Subject: add quotes for LOCKIT and TIMEOUT X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b110890051c6828b9fa67011c13eebe82ff94630;p=bin.git add quotes for LOCKIT and TIMEOUT --- diff --git a/update_mobile_org b/update_mobile_org index 41f898a..3f54a16 100755 --- a/update_mobile_org +++ b/update_mobile_org @@ -9,8 +9,8 @@ LOCKFILE=$TMPDIR/update_mobile_org if [ -n "$PS1" ]; then LOCKOPTS=-f; fi; -LOCKIT=with-lock-ex $LOCKOPTS $LOCKFILE -TIMEOUT=timeout -k1m 1m +LOCKIT="with-lock-ex $LOCKOPTS $LOCKFILE" +TIMEOUT="timeout -k1m 1m" ${LOCKIT} ${TIMEOUT} mr -d ~/org-mode up; if [ "$HOSTNAME" = "rzlab" ]; then ${LOCKIT} ${TIMEOUT} mr -d ~/projects/org-notes up;