Roman Rakus writes:
On 06/22/2012 05:15 AM, Sam Varshavchik wrote:
> [root@octopus ~]# strings /bin/bash | grep usr.bin
> /usr/local/bin:/bin:/usr/bin
>
> I think that bash needs to be recompiled, with the last two flipped, in the
> default shell PATH.
The path above is used by bash only if PATH env variable is not set.
Well, yes. Which means that in order to build packages containing portable
config code that searches its PATH to locate where the platform installs
Perl, and you actually want to be able to avoid your package creating a
dependency fail the next time Perl gets upgraded, it is now necessary to
override PATH in the rpm spec script.
That certainly makes a lot of sense. Not.