use better tmp dir
This commit is contained in:
parent
95c0caf4be
commit
92ec7ad5b6
|
@ -9,7 +9,7 @@ set -u
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
if [ -z "${my_tmp-}" ]; then
|
if [ -z "${my_tmp-}" ]; then
|
||||||
my_tmp=$(mkdir -p)
|
my_tmp="$(mktemp -d -t node-installer.XXXXXXXX)"
|
||||||
fi
|
fi
|
||||||
if [ -z "${PREFIX-}" ]; then
|
if [ -z "${PREFIX-}" ]; then
|
||||||
PREFIX=""
|
PREFIX=""
|
||||||
|
|
Loading…
Reference in New Issue