bash: remove /bin/applets from PATH
This commit is contained in:
parent
3f081dd19e
commit
30d39ac7e0
|
@ -6,7 +6,7 @@ diff -uNr bash-5.0/config-top.h bash-5.0.mod/config-top.h
|
|||
#ifndef DEFAULT_PATH_VALUE
|
||||
#define DEFAULT_PATH_VALUE \
|
||||
- "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:."
|
||||
+ "@TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets:."
|
||||
+ "@TERMUX_PREFIX@/bin:."
|
||||
#endif
|
||||
|
||||
/* If you want to unconditionally set a value for PATH in every restricted
|
||||
|
@ -15,7 +15,7 @@ diff -uNr bash-5.0/config-top.h bash-5.0.mod/config-top.h
|
|||
#ifndef STANDARD_UTILS_PATH
|
||||
#define STANDARD_UTILS_PATH \
|
||||
- "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc"
|
||||
+ "@TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets"
|
||||
+ "@TERMUX_PREFIX@/bin"
|
||||
#endif
|
||||
|
||||
/* Default primary and secondary prompt strings. */
|
||||
|
|
Loading…
Reference in New Issue