On 2025-05-06 12:31:08 +0100, Ahmad Khalifa wrote: > On 06/05/2025 10:34, Simon Josefsson wrote: > > podman run -it --rm debian:trixie > > apt-get update > > apt-get install -y --no-install-recommends gradle > > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin > > gradle > > /bin/gradle: 23: cd: can't cd to /bin/../share/gradle/bin/.. > > > > The problem seems that it is generating a relative path to its own > > command expanded via PATH, which doesn't work because there is no /share > > symlink but there is /usr/share/. > > Perfectly reasonable method to support installing to /usr, /usr/local, > $HOME/.local, ...
No, the end user should be able to use symlinks from his $HOME/bin to resolve conflicts for commands with the same name, e.g. due to 3rd-party commands in /usr/local/bin. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)