summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2021-01-04 07:11:27 -0500
committerGitHub <noreply@github.com>2021-01-04 07:11:27 -0500
commit59db8884c633e45642bed85c4e48f9a2df4d6d1d (patch)
tree567be04a16a3b7fab0d9bb611f9c3b1e4d502982 /netdata-installer.sh
parent1982f607e85c74838478804fd80c16bbb1c8c073 (diff)
Persist `$TMPDIR` from installer to updater. (#10384)
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index c812b36ca4..0474100acd 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -1866,6 +1866,7 @@ cat << EOF > "${NETDATA_USER_CONFIG_DIR}/.environment"
PATH="${PATH}"
CFLAGS="${CFLAGS}"
LDFLAGS="${LDFLAGS}"
+NETDATA_TMPDIR="${TMPDIR}"
NETDATA_PREFIX="${NETDATA_PREFIX}"
NETDATA_CONFIGURE_OPTIONS="${NETDATA_CONFIGURE_OPTIONS}"
NETDATA_ADDED_TO_GROUPS="${NETDATA_ADDED_TO_GROUPS}"