You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
364 B

diff -u -r ../git-2.8.1/wrapper.c ./wrapper.c
--- ../git-2.8.1/wrapper.c 2016-04-03 15:07:18.000000000 -0400
+++ ./wrapper.c 2016-04-28 07:24:14.514073661 -0400
@@ -437,7 +437,7 @@
tmp = getenv("TMPDIR");
if (!tmp)
- tmp = "/tmp";
+ tmp = "@TERMUX_PREFIX@/tmp";
n = snprintf(path, len, "%s/%s", tmp, template);
if (len <= n) {
errno = ENAMETOOLONG;