From c21d32b81fbf34d7aa47558dd24e8d04e6a72562 Mon Sep 17 00:00:00 2001 From: "Aaron W. Swenson" Date: Sun, 24 Apr 2011 09:15:28 -0400 Subject: Replaced '-xtype' with '-type' and added '-L' to the 'find' command. --- postgresql.eselect | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/postgresql.eselect b/postgresql.eselect index 8454284..ecbe766 100644 --- a/postgresql.eselect +++ b/postgresql.eselect @@ -7,7 +7,7 @@ inherit config multilib DESCRIPTION="Manage active PostgreSQL client applications and libraries" MAINTAINER="pgsql-bugs@gentoo.org" SVN_DATE='$Date: $' -VERSION="1.0.8" +VERSION="1.0.9" # Global Data B_PATH="${EROOT%/}/usr" @@ -54,7 +54,7 @@ linker() { # passing to 'find' the pattern '-name lib lib32 lib64' and find interprets # those as path arguments causing failure. set -f - findings=$(find "${source_dir}" -maxdepth 1 -mindepth 1 ${pattern}) + findings=$(find -L "${source_dir}" -maxdepth 1 -mindepth 1 ${pattern}) set +f for link_source in ${findings} ; do @@ -209,7 +209,7 @@ do_set() { # Link binaries to /usr/bin/ linker "${B_PATH}/$(lib_dir)/postgresql-${SLOT}/bin" \ - "-xtype f" "${B_PATH}/bin" + "-type f" "${B_PATH}/bin" # Default share path ln -s "${B_PATH}/share/postgresql-${SLOT}" "${B_PATH}/share/postgresql" @@ -325,7 +325,7 @@ do_update() { local tmp_manpath="${B_PATH}/share/postgresql-${curslot}/man/" [[ -d ${tmp_manpath} ]] && manpath+=":${tmp_manpath}" linker "${B_PATH}/$(lib_dir)/postgresql-${curslot}/bin" \ - "-xtype f" "${B_PATH}/bin" "${curslot//.}" + "-type f" "${B_PATH}/bin" "${curslot//.}" echo "done." done -- cgit v1.2.3-65-gdbad