From ff0dfb0b1072c1d0e14fdcbf58581941baea7bb6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 27 Mar 2007 20:32:16 +0000 Subject: For bug #170178, remove all hardcoded references to '/usr/lib/portage'. (trunk r6202:6203) svn path=/main/branches/2.1.2/; revision=6293 --- bin/etc-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/etc-update') diff --git a/bin/etc-update b/bin/etc-update index c1569ff12..ab376b83c 100755 --- a/bin/etc-update +++ b/bin/etc-update @@ -439,8 +439,8 @@ scriptname=$(basename $0) trap die term - -eval $(/usr/lib/portage/bin/portageq envvar -v CONFIG_PROTECT \ +type portageq > /dev/null || exit $? +eval $(portageq envvar -v CONFIG_PROTECT \ CONFIG_PROTECT_MASK PORTAGE_CONFIGROOT PORTAGE_TMPDIR ROOT USERLAND) export PORTAGE_TMPDIR -- cgit v1.2.3-1-g7c22