fix ndk-patches/paths.h.patch

This commit is contained in:
Leonid Pliushch 2020-07-11 00:51:47 +03:00
parent ac4f2b9ac5
commit 9e65428d02
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
--- ./usr/include/paths.h.orig 2020-07-10 21:21:20.717104129 +0000
+++ ./usr/include/paths.h 2020-07-10 21:24:28.337980566 +0000
--- ./usr/include/paths.h.orig 2020-07-10 21:50:03.778299300 +0000
+++ ./usr/include/paths.h 2020-07-10 21:51:03.127602196 +0000
@@ -40,14 +40,14 @@
#ifndef _PATH_BSHELL
@ -12,7 +12,7 @@
#define _PATH_CONSOLE "/dev/console"
/** 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 "/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin"
+#define _PATH_DEFPATH "@TERMUX_PREFIX@/bin"
/** Path to the directory containing device files. */