summaryrefslogtreecommitdiff
path: root/mail/popfile
diff options
context:
space:
mode:
authorMakoto Matsushita <matusita@FreeBSD.org>2004-03-27 05:19:40 +0000
committerMakoto Matsushita <matusita@FreeBSD.org>2004-03-27 05:19:40 +0000
commita3ec21852b39428aa2a1bfd2c2147eb325e1c259 (patch)
treea20133b2cc044872a51875473ef6c0da6517fbdc /mail/popfile
parentNew features to popfile.sh startup script, including: (diff)
Quote variable to avoid unwanted error, even if the pathname
includes spaces. The content is changed but the previous commit is a few minutes before, don't bump PORTREVISION to avoid confusion.
Notes
Notes: svn path=/head/; revision=105402
Diffstat (limited to 'mail/popfile')
-rw-r--r--mail/popfile/files/popfile.sh6
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 &