termux-packages/packages/libgnustep-base/Tools-gdomap.c.patch
2022-01-02 13:18:16 +01:00

12 lines
293 B
Diff

--- a/Tools/gdomap.c
+++ b/Tools/gdomap.c
@@ -5320,7 +5320,7 @@
#ifndef __MINGW__
if (0 == jail)
{
- jail = "/tmp"; /* Not great, but better than nothing */
+ jail = "@TERMUX_PREFIX@/tmp"; /* Not great, but better than nothing */
}
if (chdir(jail) < 0)
{