diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2020-02-12 10:23:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-12 10:23:31 -0500 |
commit | 8f7d83c00bbfe4fea5e12e4ec0b5de5294f409d0 (patch) | |
tree | 81c0b02a58c9819d1581dcdb6c239880430af381 /netdata-installer.sh | |
parent | 8166f8bc2aed417285cf08c2a9b60d2ebc3b872c (diff) |
Make temporary directories relative to $TEMPDIR. (#8066)
* Make temporary directories relative to $TEMPDIR.
* Add externaldeps to .gitignore.
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index bdc30a7d94..e0a0339e1e 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -455,7 +455,7 @@ bundle_libmosquitto() { MOSQUITTO_PACKAGE_VERSION="$(cat packaging/mosquitto.version)" - tmp=$(mktemp -d netdata-mosquitto-XXXXXX) + tmp=$(mktemp -t -d netdata-mosquitto-XXXXXX) MOSQUITTO_PACKAGE_BASENAME="${MOSQUITTO_PACKAGE_VERSION}.tar.gz" if [ -z "${NETDATA_LOCAL_TARBALL_OVERRIDE_MOSQUITTO}" ]; then @@ -966,7 +966,7 @@ install_go() { break fi done - tmp=$(mktemp -d /tmp/netdata-go-XXXXXX) + tmp=$(mktemp -t -d netdata-go-XXXXXX) GO_PACKAGE_BASENAME="go.d.plugin-${GO_PACKAGE_VERSION}.${OS}-${ARCH}.tar.gz" if [ -z "${NETDATA_LOCAL_TARBALL_OVERRIDE_GO_PLUGIN}" ]; then |