diff options
-rw-r--r-- | mail/popfile/files/popfile.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/popfile/files/popfile.sh b/mail/popfile/files/popfile.sh index 21caf2b8fe51..3ce20d4e255f 100644 --- a/mail/popfile/files/popfile.sh +++ b/mail/popfile/files/popfile.sh @@ -7,7 +7,7 @@ case "${HOME}" in export POPFILE_USER_DEFAULT=/var/db/popfile ;; *) - export POPFILE_USER_DEFAULT=${HOME}/.popfile + export POPFILE_USER_DEFAULT="${HOME}/.popfile" ;; esac @@ -20,6 +20,6 @@ die() export POPFILE_ROOT=%%DATADIR%% export POPFILE_USER=${POPFILE_USER:-${POPFILE_USER_DEFAULT}} -mkdir -p ${POPFILE_USER} || die "mkdir ${POPFILE_USER} failed" -cd ${POPFILE_USER} +mkdir -p "${POPFILE_USER}" || die "mkdir ${POPFILE_USER} failed" +cd "${POPFILE_USER}" %%DATADIR%%/popfile.pl >/dev/null 2>&1 & |