summaryrefslogtreecommitdiff
path: root/standalone
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-03 11:56:53 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-03 11:56:53 -0400
commit10307797f511ce5d84f878f7f93bd126ad52b1a8 (patch)
tree5236381807ac5c217cf4d62f6e59c0048283e148 /standalone
parent34f5e310d92904fe4ca0e802d73f7fdaae9673b6 (diff)
set TMPDIR
Diffstat (limited to 'standalone')
-rwxr-xr-xstandalone/android/runshell3
1 files changed, 3 insertions, 0 deletions
diff --git a/standalone/android/runshell b/standalone/android/runshell
index a761a5065..7bebd0cf3 100755
--- a/standalone/android/runshell
+++ b/standalone/android/runshell
@@ -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"