1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 21:17:07 +00:00
termux-packages/packages/gopher/gopher-download.c.patch
2022-03-08 05:00:42 +09:00

14 lines
347 B
Diff

--- a/gopher/download.c
+++ b/gopher/download.c
@@ -271,8 +271,8 @@
return;
}
#else
- if (chdir("/tmp")!=0) {
- CursesErrorMsg(Gtxt("Can't write to the /tmp directory!",70));
+ if (chdir("@TERMUX_PREFIX@/tmp")!=0) {
+ CursesErrorMsg(Gtxt("Can't write to the @TERMUX_PREFIX@/tmp directory!",70));
return;
}
#endif