> Hello.
>
> Path of some utilities in coreutils-6.7-r1 changed from /usr/bin to /bin
> and vice versa. This cause some scripts became broken as they relied on
> the full path to executable. The question is: does there exist best
> practice on how to avoid this problem in future? Should we set some
> default PATH in scripts or should we call "command -p program"? Or as
> this is mainly problem for scripts that work in cron we should suggest
> users to set PATH in crontab? Or may be we should fix coreutils to
> create all possible symlinks?
>
> TIA,
> --
> Peter.
>

One idea that comes to mind is /usr/bin/env $bin

For cron, one would need to set the PATH to something sane though.

-- 
gentoo-dev@gentoo.org mailing list

Reply via email to