>[packager_at_rpm-builder etc]$ env | grep PATH
>PATH=/home/packager/.local/bin:/home/packager/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
>
>I guess /user/local/bin or /usr/local/sbin is our first choice? Do we need --enable-pedantic-posix for /usr/local/bin or /usr/local/sbin?
No, /usr/local is reserved, as the name implies, for local
installations:
packaged software cannot use it.
If the default PATH has /usr/sbin before /usr/bin for all users, then
the
best thing is probably to install cd, umask and wait into /usr/sbin.
It's
not exactly clean, but at this point we're not trying to be clean, we're
trying to make things work. And it wouldn't be the first time a binary
that's
available to all users gets installed in /usr/sbin.
--
Laurent
Received on Tue Apr 02 2024 - 00:25:33 CEST