termux-packages/packages/fish
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
..
CMakeLists.txt.patch fish: update to 3.3.0 (#7099) 2021-07-04 13:51:34 +03:00
build.sh fish: fix inconsistent behaviour executing hardcoded paths 2021-12-08 14:21:37 +05:30
create_manpage_completions.py.patch fish: Update to 3.2.0 2021-03-17 22:10:14 +01:00
src-fish.cpp.patch
src-path.cpp.patch fish: fix inconsistent behaviour executing hardcoded paths 2021-12-08 14:21:37 +05:30
src-wutil.cpp.patch Transition from gnustl to libc++ 2017-07-14 00:23:37 +02:00