You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
349 B
14 lines
349 B
7 years ago
|
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");
|