dash: remove /bin/applets from PATH

This commit is contained in:
Leonid Pliushch 2020-07-09 01:09:41 +03:00
parent b6aa249557
commit 9ecd2872f8

View File

@ -6,7 +6,7 @@ diff -uNr dash-0.5.11/src/var.c dash-0.5.11.mod/src/var.c
const char defpathvar[] =
- "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin";
+ "PATH=@TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets";
+ "PATH=@TERMUX_PREFIX@/bin";
char defifsvar[] = "IFS= \t\n";
MKINIT char defoptindvar[] = "OPTIND=1";