]> git.donarmstrong.com Git - bin.git/blobdiff - update_mobile_org
add quotes for LOCKIT and TIMEOUT
[bin.git] / update_mobile_org
index 41f898af4a352aa3f53c3ae3e0d8c796c083b6c3..3f54a16aa387e2615cc84dc8cec15c42444e3047 100755 (executable)
@@ -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;