diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-08-18 13:51:28 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-08-18 13:51:28 -0700 |
commit | 49cc97a199f38904ad5ad5a3d496cb796ecac657 (patch) | |
tree | 347c6f40b7ff7afe322761eba39cc087875317df /misc | |
parent | emerge-delta-webrsync: rm -f for non-interactive (diff) | |
download | portage-49cc97a199f38904ad5ad5a3d496cb796ecac657.tar.gz portage-49cc97a199f38904ad5ad5a3d496cb796ecac657.tar.bz2 portage-49cc97a199f38904ad5ad5a3d496cb796ecac657.zip |
emerge-delta-webrsync: fix make.globals path
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/emerge-delta-webrsync | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/emerge-delta-webrsync b/misc/emerge-delta-webrsync index f6748cb2e..8c43bdc4b 100755 --- a/misc/emerge-delta-webrsync +++ b/misc/emerge-delta-webrsync @@ -31,7 +31,8 @@ else eecho "could not find 'portageq'; aborting" exit 1 fi -eval $("${portageq}" envvar -v DISTDIR FEATURES FETCHCOMMAND GENTOO_MIRRORS \ +eval $("${portageq}" envvar -v DISTDIR EPREFIX FEATURES \ + FETCHCOMMAND GENTOO_MIRRORS \ PORTAGE_BIN_PATH PORTAGE_GPG_DIR \ PORTAGE_NICENESS PORTAGE_RSYNC_EXTRA_OPTS \ PORTAGE_RSYNC_OPTS PORTAGE_TMPDIR PORTDIR \ @@ -54,7 +55,7 @@ STATE_DIR="/var/delta-webrsync/" # hack. bug 92224 if [ "${FETCHCOMMAND/getdelta.sh}" != "${FETCHCOMMAND}" ]; then # evil evil evil evil - eval "$(grep FETCHCOMMAND /etc/make.globals)" + eval "$(grep "^FETCHCOMMAND=" "${EPREFIX}/usr/share/portage/config/make.globals")" fi unset f |