termux-packages/packages/dash/src-var.c.patch

13 lines
457 B
Diff
Raw Normal View History

2020-06-02 16:59:32 +02:00
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
2018-06-21 09:47:56 +02:00
@@ -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";
2020-07-09 00:09:41 +02:00
+ "PATH=@TERMUX_PREFIX@/bin";
2020-06-02 16:59:32 +02:00
char defifsvar[] = "IFS= \t\n";
MKINIT char defoptindvar[] = "OPTIND=1";