use better tmp dir

This commit is contained in:
AJ ONeal 2018-07-26 22:07:02 +00:00
parent 95c0caf4be
commit 92ec7ad5b6
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ set -u
set -o pipefail
if [ -z "${my_tmp-}" ]; then
my_tmp=$(mkdir -p)
my_tmp="$(mktemp -d -t node-installer.XXXXXXXX)"
fi
if [ -z "${PREFIX-}" ]; then
PREFIX=""