[gentoo-dev] Re: RFC: postgresql.eselect

2011-03-30 Thread Ryan Hill
On Wed, 30 Mar 2011 07:00:21 -0400 "Aaron W. Swenson" wrote: > As for the lib_dir(), I'm unsure if that's a good way to handle things. > Or, if it's really the best way, even though it's ugly. There's nothing > preventing me from making it a user configurable...it's just that at > some point I do

Re: [gentoo-dev] Re: RFC: postgresql.eselect

2011-03-30 Thread Aaron W. Swenson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 03/30/2011 03:58 AM, Fabian Groffen wrote: > On 29-03-2011 22:35:48 -0600, Ryan Hill wrote: >>> Because 'ls' would complain that files didn't exist, such as lib*.dylib >>> when on a Linux system. It doesn't matter. But, using 'find' avoids this >>

Re: [gentoo-dev] Re: RFC: postgresql.eselect

2011-03-30 Thread Fabian Groffen
On 29-03-2011 22:35:48 -0600, Ryan Hill wrote: > > Because 'ls' would complain that files didn't exist, such as lib*.dylib > > when on a Linux system. It doesn't matter. But, using 'find' avoids this > > mess. > > Never use ls to get filenames in a script. Instead of > > for link_source in $(

[gentoo-dev] Re: RFC: postgresql.eselect

2011-03-29 Thread Ryan Hill
On Tue, 29 Mar 2011 17:05:01 -0400 "Aaron W. Swenson" wrote: > > - Suppressing stdout of commands like "do_action env update" is fine, > > but why suppress stderr? > > > Because 'ls' would complain that files didn't exist, such as lib*.dylib > when on a Linux system. It doesn't matter. But, us