diff options
author | 2010-11-24 18:28:10 +0000 | |
---|---|---|
committer | 2010-11-24 18:28:10 +0000 | |
commit | a1468f90c6c5c23577854a3d17f2f11ec05c87d8 (patch) | |
tree | 9c5f3d94c438a8bf717f5a72b74f0022b995175e | |
parent | Update euse to look for portage config files in new as well as old paths. Bug... (diff) | |
download | gentoolkit-a1468f90c6c5c23577854a3d17f2f11ec05c87d8.tar.gz gentoolkit-a1468f90c6c5c23577854a3d17f2f11ec05c87d8.tar.bz2 gentoolkit-a1468f90c6c5c23577854a3d17f2f11ec05c87d8.zip |
Make euse prefix aware
svn path=/trunk/gentoolkit/; revision=869
-rw-r--r-- | ChangeLog | 2 | ||||
-rwxr-xr-x | bin/euse | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,6 @@ 2010-11-24: Paul Varner <fuzzyray@gentoo.org> * euse: Fix euse to look for portage configuration files in both the - old and new paths. bug 346519. + old and new paths. bug 346519. Make euse work in prefix environments. 2010-10-29: Tomáš Chvátal <scarabeus@gentoo.org> * eshowkw: Add new module as drop-in replacement for eshowkw from @@ -9,8 +9,9 @@ PROGRAM_NAME=euse VERSION="svn" -ETC="/etc" -USR_SHARE_PORTAGE="/usr/share/portage" +EPREFIX=${EPREFIX:-$(portageq envvar EPREFIX)} +ETC="${EPREFIX}/etc" +USR_SHARE_PORTAGE="${EPREFIX}/usr/share/portage" # define error function so it can be used immediately error() { |