Added -d flag to the mktemp command

Apparently this forces mktemp to create a directory.
Fixes #106
This commit is contained in:
Marcus Whybrow 2012-11-04 23:15:15 +00:00
parent 2523f689a5
commit aeedd5a2ac

View File

@ -1,6 +1,6 @@
msm_dir="/opt/msm"
msm_user="minecraft"
dl_dir="$(mktemp -t msm-XXX)"
dl_dir="$(mktemp -d -t msm-XXX)"
# Outputs an MSM INSTALL log line
function install_log() {