0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 00:10:52 +00:00
termux-packages/packages/dash/src-var.c.patch
2020-07-09 01:09:41 +03:00

13 lines
457 B
Diff

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";
char defifsvar[] = "IFS= \t\n";
MKINIT char defoptindvar[] = "OPTIND=1";