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 1QEq5n-0001vA-K6 for garchives@archives.gentoo.org; Tue, 26 Apr 2011 21:46:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF8B11C013; Tue, 26 Apr 2011 21:46:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 914D81C013 for ; Tue, 26 Apr 2011 21:46:39 +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 0ED471B4092 for ; Tue, 26 Apr 2011 21:46:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 6E96580507 for ; Tue, 26 Apr 2011 21:46:38 +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: <7f5e7383defb3be8d3a0f0a4278edac585951ec5.titanofold@gentoo> 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: 7f5e7383defb3be8d3a0f0a4278edac585951ec5 Date: Tue, 26 Apr 2011 21:46:38 +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: 2a009050ba7c4827f0a3ea06d0c6f64d commit: 7f5e7383defb3be8d3a0f0a4278edac585951ec5 Author: Aaron W. Swenson gentoo org> AuthorDate: Tue Apr 26 11:37:42 2011 +0000 Commit: Aaron Swenson gentoo org> CommitDate: Tue Apr 26 11:37:42 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pgsql-patches= .git;a=3Dcommit;h=3D7f5e7383 Missed a trailing slash. --- postgresql.eselect | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/postgresql.eselect b/postgresql.eselect index 7ebbfde..1e2e623 100644 --- a/postgresql.eselect +++ b/postgresql.eselect @@ -90,7 +90,7 @@ unlinker() { ### Get Slots Function ### # Find all available slots in the preferred lib_dir() and return them. get_slots() { - echo $(find "${B_PATH}/$(lib_dir)" -maxdepth 1 -type d \ + echo $(find "${B_PATH}/$(lib_dir)/" -maxdepth 1 -type d \ -regex '.*postgresql-[0-9][0-9]*\.[0-9][0-9]*' | \ sed -re 's#.*([0-9]+\.[0-9]+)$#\1#' | sort -n) }