diff options
author | 2011-04-24 09:15:28 -0400 | |
---|---|---|
committer | 2011-04-24 09:15:28 -0400 | |
commit | c21d32b81fbf34d7aa47558dd24e8d04e6a72562 (patch) | |
tree | 67e68e40158d6a7fbd7021f2d4e7b9f8aa1b4768 | |
parent | Better comment as to why 'set -f' is there. (diff) | |
download | eselect-c21d32b81fbf34d7aa47558dd24e8d04e6a72562.tar.gz eselect-c21d32b81fbf34d7aa47558dd24e8d04e6a72562.tar.bz2 eselect-c21d32b81fbf34d7aa47558dd24e8d04e6a72562.zip |
Replaced '-xtype' with '-type' and added '-L' to the 'find' command.
-rw-r--r-- | postgresql.eselect | 8 |
1 files 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 |