Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203114 - app-admin/eselect-1.0.11 $ESELECT_DATA_PATH contains an unnecessary trailing slash
Summary: app-admin/eselect-1.0.11 $ESELECT_DATA_PATH contains an unnecessary trailing ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: eselect (show other bugs)
Hardware: x86 Linux
: Lowest trivial (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-12-23 01:39 UTC by Martin Walch
Modified: 2009-04-18 08:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Walch 2007-12-23 01:39:35 UTC
/usr/bin/eselect from app-admin/eselect uses a variable 

ESELECT_DATA_PATH="/usr/local/share/eselect/"

This variable has a trailing slash. But it is always used assuming there was no trailing slash. e.g.

ESELECT_CORE_PATH="${ESELECT_DATA_PATH}/libs"

which results in ugly double slashes

Reproducible: Always

Steps to Reproduce:
Comment 1 Ulrich Müller gentoo-dev 2009-04-14 19:54:23 UTC
Removing the trailing slant should be safe enough.
Committed to trunk (r405) and 1.0.x branch (r406).
Comment 2 Ulrich Müller gentoo-dev 2009-04-18 08:31:01 UTC
Fixed in 1.0.12.
Thanks for reporting.