From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q5ctP-0000Th-QC for garchives@archives.gentoo.org; Fri, 01 Apr 2011 11:51:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52C811C033; Fri, 1 Apr 2011 11:51:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 22FB31C033 for ; Fri, 1 Apr 2011 11:51:48 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A0BC21B4022 for ; Fri, 1 Apr 2011 11:51:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 1683280065 for ; Fri, 1 Apr 2011 11:51:47 +0000 (UTC) From: "Aaron Swenson" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Swenson" Message-ID: Subject: [gentoo-commits] proj/pgsql-patches:eselect commit in: / X-VCS-Repository: proj/pgsql-patches X-VCS-Files: postgresql.eselect X-VCS-Directories: / X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron Swenson X-VCS-Revision: bbb80be449b55d79003ab6692a6e28e579a3ecf7 Date: Fri, 1 Apr 2011 11:51:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 6dcb22313fc7e114ca55b9362a9af4c6 commit: bbb80be449b55d79003ab6692a6e28e579a3ecf7 Author: Aaron W. Swenson gentoo org> AuthorDate: Fri Apr 1 11:51:10 2011 +0000 Commit: Aaron Swenson gentoo org> CommitDate: Fri Apr 1 11:51:10 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pgsql-patches= .git;a=3Dcommit;h=3Dbbb80be4 Fixed path so that it looks for something that'll actually exist. --- postgresql.eselect | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/postgresql.eselect b/postgresql.eselect index 07b5383..e4cc599 100644 --- a/postgresql.eselect +++ b/postgresql.eselect @@ -25,10 +25,10 @@ active_slot() { lib_dir() { local lib_list=3D$(list_libdirs) if [[ ${lib_list} =3D~ .*lib64.* && \ - -n $(ls -d ${B_PATH}/lib64/postgresql-*/lib 2> /dev/null) ]] ; then + -n $(ls -d ${B_PATH}/lib64/postgresql-*/lib64 2> /dev/null) ]] ; then echo "lib64" elif [[ ${lib_list} =3D~ .*lib32.* && \ - -n $(ls -d ${B_PATH}/lib32/postgresql-*/lib 2> /dev/null) ]] ; then + -n $(ls -d ${B_PATH}/lib32/postgresql-*/lib32 2> /dev/null) ]] ; then echo "lib32" else echo "lib"