forgot paths
This commit is contained in:
parent
ec0d56f6bc
commit
ab9407425b
@ -1,25 +1,15 @@
|
|||||||
--- ./usr/include/paths.h.orig 2019-06-10 00:10:55.544212642 +0000
|
--- ./usr/include/paths.h.orig 2020-01-17 23:41:34.485536389 +0000
|
||||||
+++ ./usr/include/paths.h 2019-06-10 00:16:51.514412646 +0000
|
+++ ./usr/include/paths.h 2020-01-17 23:54:08.657993083 +0000
|
||||||
@@ -38,16 +38,14 @@
|
@@ -40,7 +40,7 @@
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#ifndef _PATH_BSHELL
|
||||||
|
|
||||||
-#ifndef _PATH_BSHELL
|
|
||||||
/** Path to the default system shell. Historically the 'B' was to specify the Bourne shell. */
|
/** Path to the default system shell. Historically the 'B' was to specify the Bourne shell. */
|
||||||
-#define _PATH_BSHELL "/system/bin/sh"
|
-#define _PATH_BSHELL "/system/bin/sh"
|
||||||
-#endif
|
+#define _PATH_BSHELL "@TERMUX_PREFIX@/bin/sh"
|
||||||
+#define _PATH_BSHELL "@TERMUX_PREFIX@/bin/sh"
|
#endif
|
||||||
|
|
||||||
/** Path to the system console. */
|
/** Path to the system console. */
|
||||||
#define _PATH_CONSOLE "/dev/console"
|
@@ -63,0 +63,0 @@
|
||||||
|
|
||||||
/** Default shell search path. */
|
|
||||||
-#define _PATH_DEFPATH "/sbin:/system/sbin:/product/bin:/apex/com.android.runtime/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin"
|
|
||||||
+#define _PATH_DEFPATH "@TERMUX_PREFIX@/bin"
|
|
||||||
|
|
||||||
/** Path to the directory containing device files. */
|
|
||||||
#define _PATH_DEV "/dev/"
|
|
||||||
@@ -63,3 +61,9 @@
|
|
||||||
|
|
||||||
/** Path to the calling process' tty. */
|
/** Path to the calling process' tty. */
|
||||||
#define _PATH_TTY "/dev/tty"
|
#define _PATH_TTY "/dev/tty"
|
||||||
|
Loading…
Reference in New Issue
Block a user