termux-packages/packages/libgnustep-base/Tools-gdomap.c.patch

12 lines
293 B
Diff
Raw Normal View History

2022-01-01 18:58:31 +01:00
--- 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)
{