Skip to content

Commit 6a9bac7

Browse files
committed
fix TMPDIR location when saving
1 parent 9302bab commit 6a9bac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/save

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ case "${compression:-gzip}" in
129129

130130
# Create a temporary save path
131131
# mkdir uses TMPDIR, if unset set to /var/tmp since /tmp is normally in memory and could be too small for a big database
132-
TMPDIR="${TMPDIR:-/var/tmp}"
132+
export TMPDIR="${TMPDIR:-/var/tmp}"
133133
save_path="$(mktemp -d)/"
134134

135135
# Setup the final path to pass to the save cmd

0 commit comments

Comments
 (0)