set TMPDIR
This commit is contained in:
parent
e23a7598e2
commit
201f802175
1 changed files with 3 additions and 0 deletions
|
@ -95,6 +95,9 @@ run () {
|
|||
# Needs to be as short a path as possible, for ssh sockets.
|
||||
GIT_ANNEX_TMP_DIR=$base/tmp
|
||||
export GIT_ANNEX_TMP_DIR
|
||||
# /tmp probably doesn't exist, so also use it as TMPDIR
|
||||
TMPDIR=$GIT_ANNEX_TMP_DIR
|
||||
export TMPDIR
|
||||
|
||||
if $cmd test "$1"; then
|
||||
cmd="$1"
|
||||
|
|
Loading…
Reference in a new issue