0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-06 19:11:48 +00:00
Files
termux-packages/x11-packages/mogan/src-System-Boot-init_texmacs.cpp.patch
Jia Yuan Lo 6eadd17b1b bump(x11/mogan): 1.2.5.1
Enable auto update
2024-04-05 21:28:18 +08:00

12 lines
449 B
Diff

--- a/src/System/Boot/init_texmacs.cpp
+++ b/src/System/Boot/init_texmacs.cpp
@@ -235,7 +235,7 @@
static void
clean_temp_dirs () {
bool err = false;
- url main_tmp_dir= url_system ("$TMP") * url (".lolly");
+ url main_tmp_dir= url_system ("@TERMUX_PREFIX@/tmp") * url (".lolly");
array<string> a = read_directory (main_tmp_dir, err);
for (int i= 0; i < N (a); i++)
if (is_int (a[i]))