Re: PATH=/usr/local/bin:/bin:/usr/bin considered harmful

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: pgpGye4XYWO0S.pgp
Description: PGP signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux