Quote in tmpdir.sh and fix typo in doc.

This commit is contained in:
Daniel Nichter
2012-01-17 12:15:49 -07:00
parent 894c492c6d
commit b2bac5c765
2 changed files with 5 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ TMPDIR=""
# Set Global Variables:
# TMPDIR - Absolute path of secure temp directory.
mk_tmpdir() {
local dir=${1:-""}
local dir="${1:-""}"
if [ -n "$dir" ]; then
if [ ! -d "$dir" ]; then
@@ -60,7 +60,7 @@ mk_tmpdir() {
# TMPDIR - Set to "".
rm_tmpdir() {
if [ -n "$TMPDIR" ] && [ -d "$TMPDIR" ]; then
rm -rf $TMPDIR
rm -rf "$TMPDIR"
fi
TMPDIR=""
}