From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 908DC1381F3 for ; Thu, 6 Dec 2012 21:02:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2542C21C024; Thu, 6 Dec 2012 21:02:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D0BF21C02B for ; Thu, 6 Dec 2012 21:02:38 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 94E7233D99D for ; Thu, 6 Dec 2012 21:02:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1C09FE5436 for ; Thu, 6 Dec 2012 21:02:35 +0000 (UTC) From: "Ulrich Mueller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Mueller" Message-ID: <1354827775.ee66576015a6dc576e76ac1539412ec32ba466d9.ulm@gentoo> Subject: [gentoo-commits] proj/eselect:master commit in: /, modules/ X-VCS-Repository: proj/eselect X-VCS-Files: ChangeLog modules/profile.eselect X-VCS-Directories: / modules/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: ee66576015a6dc576e76ac1539412ec32ba466d9 X-VCS-Branch: master Date: Thu, 6 Dec 2012 21:02:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fd296efa-7366-4de2-b810-540147f6d553 X-Archives-Hash: 1e9ea781230284249543cf54b08ad1fd commit: ee66576015a6dc576e76ac1539412ec32ba466d9 Author: Ulrich Müller gentoo org> AuthorDate: Thu Dec 6 21:02:55 2012 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Thu Dec 6 21:02:55 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/eselect.git;a=commit;h=ee665760 Use EROOT in profile module to make it work in Prefix, bug 444620. * modules/profile.eselect (get_repos, get_repo_path): Use EROOT to make it work in Prefix, fixes bug 444620. Thanks to Greg Turner ameritech.net> for bug report and patch. --- ChangeLog | 6 ++++++ modules/profile.eselect | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3cb3db2..af6eb4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-12-06 Ulrich Müller + + * modules/profile.eselect (get_repos, get_repo_path): Use EROOT + to make it work in Prefix, fixes bug 444620. Thanks to Greg Turner + for bug report and patch. + 2012-10-21 Ulrich Müller * configure.ac: Update version to 1.3.3. diff --git a/modules/profile.eselect b/modules/profile.eselect index 6db3dd5..4d21cd1 100644 --- a/modules/profile.eselect +++ b/modules/profile.eselect @@ -29,7 +29,7 @@ get_symlink_location() { # get list of repositories get_repos() { # sort: DEFAULT_REPO first, then alphabetical order - portageq get_repos "${ROOT:-/}" \ + portageq get_repos "${EROOT:-/}" \ | sed "s/[[:space:]]\+/\n/g;s/^${DEFAULT_REPO}\$/ &/gm" \ | LC_ALL=C sort [[ -z ${PIPESTATUS[@]#0} ]] @@ -37,7 +37,7 @@ get_repos() { # get paths for a given list of repositories get_repo_path() { - portageq get_repo_path "${ROOT:-/}" "$@" + portageq get_repo_path "${EROOT:-/}" "$@" } # get a list of valid profiles