public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Mueller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/eselect:master commit in: /, modules/
Date: Thu,  6 Dec 2012 21:02:35 +0000 (UTC)	[thread overview]
Message-ID: <1354827775.ee66576015a6dc576e76ac1539412ec32ba466d9.ulm@gentoo> (raw)

commit:     ee66576015a6dc576e76ac1539412ec32ba466d9
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  6 21:02:55 2012 +0000
Commit:     Ulrich Mueller <ulm <AT> gentoo <DOT> 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
<gmturner007 <AT> 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  <ulm@gentoo.org>
+
+	* modules/profile.eselect (get_repos, get_repo_path): Use EROOT
+	to make it work in Prefix, fixes bug 444620. Thanks to Greg Turner
+	<gmturner007@ameritech.net> for bug report and patch.
+
 2012-10-21  Ulrich Müller  <ulm@gentoo.org>
 
 	* 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


             reply	other threads:[~2012-12-06 21:02 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-06 21:02 Ulrich Mueller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-07 16:22 [gentoo-commits] proj/eselect:master commit in: /, modules/ Ulrich Müller
2023-06-12 16:24 Ulrich Müller
2019-11-28 13:16 Ulrich Müller
2018-01-24 10:03 Ulrich Müller
2018-01-08 23:30 Ulrich Müller
2017-12-25 11:00 Ulrich Müller
2017-05-22 11:27 Ulrich Müller
2017-05-06 13:24 Ulrich Müller
2016-12-06  7:05 Ulrich Müller
2015-01-18 22:01 Ulrich Müller
2014-08-28 13:02 Ulrich Müller
2014-05-24  7:02 Ulrich Müller
2014-02-25 10:09 Ulrich Müller
2014-02-09 17:57 Ulrich Müller
2014-02-09 16:23 Ulrich Müller
2014-02-09 17:57 ` Ulrich Müller
2013-11-14 16:47 Ulrich Müller
2013-08-24 16:52 Ulrich Mueller
2013-07-16 14:27 Ulrich Mueller
2013-07-14 15:24 Ulrich Mueller
2013-02-22 22:24 Ulrich Mueller
2012-09-12 22:09 Ulrich Mueller
2012-08-19 20:03 Ulrich Mueller
2012-06-27 17:02 Ulrich Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1354827775.ee66576015a6dc576e76ac1539412ec32ba466d9.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox