2020-01-19 23:17:02 +01:00
|
|
|
--- ./usr/include/paths.h.orig 2020-01-17 23:41:34.485536389 +0000
|
|
|
|
+++ ./usr/include/paths.h 2020-01-17 23:54:08.657993083 +0000
|
|
|
|
@@ -40,7 +40,7 @@
|
2017-06-18 20:57:16 +02:00
|
|
|
|
2020-01-19 23:17:02 +01:00
|
|
|
#ifndef _PATH_BSHELL
|
2019-06-12 04:09:22 +02:00
|
|
|
/** Path to the default system shell. Historically the 'B' was to specify the Bourne shell. */
|
|
|
|
-#define _PATH_BSHELL "/system/bin/sh"
|
2020-01-19 23:17:02 +01:00
|
|
|
+#define _PATH_BSHELL "@TERMUX_PREFIX@/bin/sh"
|
|
|
|
#endif
|
2017-06-18 20:57:16 +02:00
|
|
|
|
2019-06-12 04:09:22 +02:00
|
|
|
/** Path to the system console. */
|
2020-01-19 23:17:02 +01:00
|
|
|
@@ -63,0 +63,0 @@
|
2019-06-12 04:09:22 +02:00
|
|
|
|
|
|
|
/** Path to the calling process' tty. */
|
|
|
|
#define _PATH_TTY "/dev/tty"
|
|
|
|
+#define _PATH_STDPATH _PATH_DEFPATH
|
|
|
|
+#define _PATH_TMP "@TERMUX_PREFIX@/tmp/"
|
|
|
|
+#define _PATH_VARDB "@TERMUX_PREFIX@/var/db/"
|
|
|
|
+#define _PATH_VARRUN "@TERMUX_PREFIX@/var/run/"
|
|
|
|
+#define _PATH_VARTMP "@TERMUX_PREFIX@/var/tmp/"
|
2017-06-18 20:57:16 +02:00
|
|
|
+
|