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: /, bin/
Date: Thu, 13 Sep 2012 17:11:49 +0000 (UTC)	[thread overview]
Message-ID: <1347552947.45646c76e2cad5543370c5fe3bbfff78f2dac953.ulm@gentoo> (raw)

commit:     45646c76e2cad5543370c5fe3bbfff78f2dac953
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 13 16:15:47 2012 +0000
Commit:     Ulrich Mueller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Sep 13 16:15:47 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/eselect.git;a=commit;h=45646c76

Remove any trailing backslash from ROOT before appending EPREFIX.

* bin/eselect.in (EROOT): Remove any trailing backslash from ROOT
before appending EPREFIX.

---
 ChangeLog      |    5 +++++
 bin/eselect.in |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d031f48..67b68ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-13  Ulrich Müller  <ulm@gentoo.org>
+
+	* bin/eselect.in (EROOT): Remove any trailing backslash from ROOT
+	before appending EPREFIX.
+
 2012-09-12  Ulrich Müller  <ulm@gentoo.org>
 
 	* modules/profile.eselect (get_symlink_location): When both

diff --git a/bin/eselect.in b/bin/eselect.in
index 95d58ac..fb1260f 100755
--- a/bin/eselect.in
+++ b/bin/eselect.in
@@ -43,7 +43,7 @@ ESELECT_KILL_TARGET="$$"
 
 # Support variables for Gentoo Prefix
 EPREFIX="@EPREFIX@"
-EROOT="${ROOT}${EPREFIX}"
+EROOT="${ROOT%/}${EPREFIX}"
 
 # Remove all alias definitions. Unset functions and variables that are
 # known to cause trouble.


             reply	other threads:[~2012-09-13 17:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-13 17:11 Ulrich Mueller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-09-15 20:35 [gentoo-commits] proj/eselect:master commit in: /, bin/ Ulrich Mueller
2013-08-08 20:59 Ulrich Mueller
2013-10-22  8:30 Ulrich Müller
2013-10-22  8:47 ` Ulrich Müller
2013-10-22 17:04 Ulrich Müller
2014-06-05 11:22 Ulrich Müller
2023-06-05 18:34 Ulrich Müller
2023-06-07  8:50 [gentoo-commits] proj/eselect:master commit in: bin/, / Ulrich Müller
2023-06-12 16:24 ` [gentoo-commits] proj/eselect:master commit in: /, bin/ Ulrich Müller
2025-01-05 20:59 Ulrich Müller

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=1347552947.45646c76e2cad5543370c5fe3bbfff78f2dac953.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