dash: update src-var.c.patch

This commit is contained in:
Leonid Pliushch 2020-06-02 17:59:32 +03:00
parent 8ad331e351
commit 7521eef55d
1 changed files with 6 additions and 6 deletions

View File

@ -1,12 +1,12 @@
diff -uNr dash-0.5.10.2/src/var.c dash-0.5.10.2.mod/src/var.c
--- dash-0.5.10.2/src/var.c 2018-05-17 14:10:58.000000000 +0300
+++ dash-0.5.10.2.mod/src/var.c 2018-06-21 10:46:49.260059837 +0300
diff -uNr dash-0.5.11/src/var.c dash-0.5.11.mod/src/var.c
--- dash-0.5.11/src/var.c 2020-05-26 13:02:43.000000000 +0300
+++ dash-0.5.11.mod/src/var.c 2020-06-02 17:58:58.560031312 +0300
@@ -74,7 +74,7 @@
MKINIT struct localvar_list *localvar_stack;
const char defpathvar[] =
- "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin";
+ "PATH=@TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets";
#ifdef IFS_BROKEN
const char defifsvar[] = "IFS= \t\n";
#else
char defifsvar[] = "IFS= \t\n";
MKINIT char defoptindvar[] = "OPTIND=1";