1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-21 01:37:07 +00:00
termux-packages/packages/mc/tmpdir_default.patch
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

13 lines
447 B
Diff

diff -u -r ../mc-4.8.11/lib/global.h ./lib/global.h
--- ../mc-4.8.11/lib/global.h 2013-10-15 11:52:41.000000000 +0200
+++ ./lib/global.h 2014-02-07 02:32:06.000000000 +0100
@@ -129,7 +129,7 @@
#define PATH_SEP '/'
#define PATH_SEP_STR "/"
#define PATH_ENV_SEP ':'
-#define TMPDIR_DEFAULT "/tmp"
+#define TMPDIR_DEFAULT "@TERMUX_PREFIX@/tmp"
#define SCRIPT_SUFFIX ""
#define get_default_editor() "vi"
#define OS_SORT_CASE_SENSITIVE_DEFAULT 1