From 4ef2780aeee06c1f727aa36d0610c3562507e996 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 13 Nov 2016 00:50:40 +1300 Subject: Quote var in param expansion --- bin/gms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/gms') diff --git a/bin/gms b/bin/gms index 1cc5b0df..01cdaa2f 100755 --- a/bin/gms +++ b/bin/gms @@ -20,7 +20,7 @@ uid=$(id -u) || exit # Iterate through the getmailrc.* files in $GETMAIL if defined, or # $HOME/.getmail if not -for rcfile in "${GETMAIL:-$HOME/.getmail}"/getmailrc.* ; do ( +for rcfile in "${GETMAIL:-"$HOME"/.getmail}"/getmailrc.* ; do ( lockdir=${TMPDIR:-/tmp}/getmail.$uid.${rcfile##*/}.lock mkdir -m 0700 -- "$lockdir" 2>/dev/null || exit try -n 3 -s 15 getmail --rcfile "$rcfile" "$@" -- cgit v1.2.3