termux-packages/packages/busybox/ash.patch
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

13 lines
370 B
Diff

diff -u -r ../busybox-1.22.1/shell/ash.c ./shell/ash.c
--- ../busybox-1.22.1/shell/ash.c 2014-01-20 03:38:10.000000000 +0100
+++ ./shell/ash.c 2014-01-20 08:47:37.000000000 +0100
@@ -13225,7 +13225,7 @@
const char *hp;
state = 1;
- read_profile("/etc/profile");
+ read_profile("@TERMUX_PREFIX@/etc/profile");
state1:
state = 2;
hp = lookupvar("HOME");