diff options
| author | fuzzyray <fuzzyray@gentoo.org> | 2010-11-24 18:28:10 +0000 |
|---|---|---|
| committer | fuzzyray <fuzzyray@gentoo.org> | 2010-11-24 18:28:10 +0000 |
| commit | a1468f90c6c5c23577854a3d17f2f11ec05c87d8 (patch) | |
| tree | 9c5f3d94c438a8bf717f5a72b74f0022b995175e | |
| parent | e28b6ed1797eda3ed3d6208f324c9b47fdc4ed0e (diff) | |
| download | gentoolkit-a1468f90c6c5c23577854a3d17f2f11ec05c87d8.tar.gz | |
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() { |
