diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/dmp | 2 | ||||
-rwxr-xr-x | bin/gms | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ #!/bin/sh # Get the password store directory, bail if we can't -pwsd=${PASSWORD_STORE_DIR:-$HOME/.password-store} +pwsd=${PASSWORD_STORE_DIR:-"$HOME"/.password-store} pwsd=${pwsd%/} [ -n "$pwsd" ] || exit @@ -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" "$@" |