mirror of
https://github.com/termux/termux-packages.git
synced 2025-09-23 03:19:39 +00:00
12 lines
294 B
Diff
12 lines
294 B
Diff
--- a/diffstat.c
|
|
+++ b/diffstat.c
|
|
@@ -3249,7 +3249,7 @@ copy_stdin(char **dirpath)
|
|
const char *tmp = getenv("TMPDIR");
|
|
char *result = NULL;
|
|
if (tmp == NULL)
|
|
- tmp = "/tmp/";
|
|
+ tmp = "@TERMUX_PREFIX@/tmp/";
|
|
*dirpath = xmalloc(strlen(tmp) + 12);
|
|
|
|
strcpy(*dirpath, tmp);
|