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.
|
# Needs to be as short a path as possible, for ssh sockets.
|
||||||
GIT_ANNEX_TMP_DIR=$base/tmp
|
GIT_ANNEX_TMP_DIR=$base/tmp
|
||||||
export GIT_ANNEX_TMP_DIR
|
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
|
if $cmd test "$1"; then
|
||||||
cmd="$1"
|
cmd="$1"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue