mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-22 12:30:58 +00:00
Default to /tmp for TMPDIR
Even though it's UNIX standard, it appears that TMPDIR is missing on Linux!
This commit is contained in:
parent
adc07fdd7f
commit
ae549aa32e
@ -36,7 +36,7 @@ die() {
|
||||
download_core() {
|
||||
echo "Downloading dependency: $CORE_DIR $REALM_CORE_VERSION"
|
||||
|
||||
local TMP_DIR="$TMPDIR/core_bin"
|
||||
local TMP_DIR="${TMPDIR:-/tmp}/core_bin"
|
||||
local CORE_TAR="$TMP_DIR/$CORE_DOWNLOAD_FILE"
|
||||
local CORE_TMP_TAR="$CORE_TAR.tmp"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user