On 4/9/07, Fix <[EMAIL PROTECTED]> wrote: > profile.d/extrapaths.sh: > > [QUOTE] > for directory in $(find /opt/*/lib/pkgconfig -type d 2>/dev/null); do > pathappend $directory PKG_CONFIG_PATH > done > for directory in $(find /opt/*/bin -type d 2>/dev/null); do > pathappend $directory > done > [/QUOTE] > > These commands WILL NOT find directories /opt/lib/pkgconfig and /opt/bin. > I suggest to use the following parameters instead: > > find /opt/ -path '*/lib/pkgconfig' -type d > > and > > find /opt/ -path '*/bin' -type d
Small amendment: find /opt/ -maxdepth 2 -path '*/lib/pkgconfig' -type d find /opt/ -maxdepth 1 -path '*/bin' -type d Fix -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
