mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-13 03:00:31 +00:00
12 lines
385 B
Diff
12 lines
385 B
Diff
--- a/src/system.c
|
|
+++ b/src/system.c
|
|
@@ -419,7 +419,7 @@
|
|
const char *s;
|
|
if ((s = Scm_GetEnv("TMPDIR")) != NULL) return SCM_MAKE_STR_COPYING(s);
|
|
if ((s = Scm_GetEnv("TMP")) != NULL) return SCM_MAKE_STR_COPYING(s);
|
|
- else return SCM_MAKE_STR("/tmp"); /* fallback */
|
|
+ else return SCM_MAKE_STR("@TERMUX_PREFIX@/tmp"); /* fallback */
|
|
#endif /*!GAUCHE_WINDOWS*/
|
|
}
|
|
|