Yaksh Bariya 09156c3c88
fish: fix inconsistent behaviour executing hardcoded paths
When executing command as /bin/<command>, fish first checks whether <command> is present in /bin/ or not. If it is found, then it will execute the command. But as we are using termux-exec, fish will actually try to execute <command> in @TERMUX_PREFIX@/bin/.

An example of this:-
/bin/ls:
1) Fish will first try find whether ls binary exists in /bin and whether user has permissions to execute it
2) If both the above are true, fish will try to execute /bin/ls.
3) But since we are using termux-exec, the path will be remapped to @TERMUX_PREFIX@/bin/ls
4) This is a *highly* inconsistent behaviour.

This can cause weird bugs when a script tries to execute with hardcoded paths, it might get errors about command not found even if it exists, because fish is checking it at the wrong place.
2021-12-08 14:21:37 +05:30
..
2021-12-04 14:27:25 +01:00
2021-12-04 14:27:53 +01:00
2021-12-05 00:21:52 +00:00
2021-11-29 08:23:30 +00:00
2021-12-03 18:23:26 +00:00
2021-12-07 06:07:52 +00:00
2021-11-28 16:51:41 +05:30
2021-12-02 12:10:43 +00:00
2021-11-28 16:05:05 +05:30
2021-11-28 19:50:14 +05:30
2021-11-28 18:09:39 +00:00
2021-12-05 11:53:55 +02:00
2021-12-05 16:56:17 +01:00
2021-12-04 00:12:13 +00:00
2021-11-28 00:09:48 +01:00
2021-12-03 18:29:16 +00:00
2021-12-06 13:21:42 +05:30
2021-12-08 06:11:25 +00:00
2021-11-30 06:47:29 +00:00
2021-12-02 16:25:04 +05:30
2021-12-02 18:12:00 +00:00
2021-11-30 06:34:09 +00:00
2021-12-08 06:19:41 +00:00
2021-11-27 16:03:47 +02:00
2021-12-05 21:19:02 +05:30
2021-12-07 01:16:06 +05:30
2021-11-28 06:20:28 +00:00
2021-11-28 20:31:26 +05:30
2021-12-05 14:24:28 +01:00
2021-12-05 18:14:59 +00:00
2021-12-06 18:20:40 +00:00
2021-12-04 00:27:31 +00:00
2021-11-27 14:24:18 +02:00
2021-11-30 07:22:21 +00:00
2021-11-28 00:17:51 +01:00
2021-11-29 08:13:27 +00:00
2021-11-30 18:27:26 +00:00
2021-12-01 12:43:49 +05:30
2021-12-02 13:52:00 +05:30
2021-12-02 13:59:49 +05:30
2021-12-05 18:28:08 +00:00
2021-12-05 14:31:34 +01:00
2021-12-05 13:57:09 +01:00
2021-11-27 14:18:44 +02:00
2021-12-02 00:34:49 +00:00
2021-12-06 12:30:06 +00:00
2021-12-02 17:53:09 +05:30
2021-11-29 17:38:48 +01:00
2021-12-01 15:04:14 +05:30
2021-12-07 12:37:21 +00:00
2021-12-06 18:52:00 +00:00
2021-11-30 07:49:06 +00:00
2021-12-06 18:52:19 +00:00
2021-11-30 08:02:49 +00:00
2021-11-30 07:35:18 +00:00
2021-12-03 20:43:04 +05:30
2021-11-30 00:31:52 +00:00
2021-12-04 18:37:20 +00:00
2021-12-03 01:50:47 +01:00