0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 00:10:52 +00:00
termux-packages/packages/dash/etc-profile.patch

14 lines
349 B
Diff

diff --git a/src/main.c b/src/main.c
index fcd3e7d..39b6e70 100644
--- a/src/main.c
+++ b/src/main.c
@@ -146,7 +146,7 @@ main(int argc, char **argv)
login = procargs(argc, argv);
if (login) {
state = 1;
- read_profile("/etc/profile");
+ read_profile("@TERMUX_PREFIX@/etc/profile");
state1:
state = 2;
read_profile("$HOME/.profile");