zsh: use supplied sh (dash) insted of system/bin/sh
This commit is contained in:
parent
9fbdefb995
commit
8c3b65b380
@ -6,7 +6,7 @@ diff -u -r ../zsh-5.0.5/Src/exec.c ./Src/exec.c
|
||||
argv[-1] = "sh";
|
||||
winch_unblock();
|
||||
- execve("/bin/sh", argv - 1, newenvp);
|
||||
+ execve("/system/bin/sh", argv - 1, newenvp);
|
||||
+ execve("@TERMUX_PREFIX@/bin/sh", argv - 1, newenvp);
|
||||
}
|
||||
} else if (eno == ENOEXEC) {
|
||||
for (t0 = 0; t0 != ct; t0++)
|
||||
@ -15,7 +15,7 @@ diff -u -r ../zsh-5.0.5/Src/exec.c ./Src/exec.c
|
||||
argv[-1] = "sh";
|
||||
winch_unblock();
|
||||
- execve("/bin/sh", argv - 1, newenvp);
|
||||
+ execve("/system/bin/sh", argv - 1, newenvp);
|
||||
+ execve("@TERMUX_PREFIX@/bin/sh", argv - 1, newenvp);
|
||||
}
|
||||
}
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user