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 6C91C138010 for ; Thu, 13 Sep 2012 17:12:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B665D21C021; Thu, 13 Sep 2012 17:11:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 861C821C021 for ; Thu, 13 Sep 2012 17:11:52 +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 E795933D5EB for ; Thu, 13 Sep 2012 17:11:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 37442E543C for ; Thu, 13 Sep 2012 17:11:49 +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: <1347552947.45646c76e2cad5543370c5fe3bbfff78f2dac953.ulm@gentoo> Subject: [gentoo-commits] proj/eselect:master commit in: /, bin/ X-VCS-Repository: proj/eselect X-VCS-Files: ChangeLog bin/eselect.in X-VCS-Directories: / bin/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: 45646c76e2cad5543370c5fe3bbfff78f2dac953 X-VCS-Branch: master Date: Thu, 13 Sep 2012 17:11:49 +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: b917e6fb-d95d-403a-9a47-c0b69542314c X-Archives-Hash: 6c8d629a6f388c297f1dfdc708956989 commit: 45646c76e2cad5543370c5fe3bbfff78f2dac953 Author: Ulrich Müller gentoo org> AuthorDate: Thu Sep 13 16:15:47 2012 +0000 Commit: Ulrich Mueller gentoo 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 + + * bin/eselect.in (EROOT): Remove any trailing backslash from ROOT + before appending EPREFIX. + 2012-09-12 Ulrich Müller * 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.