From: Fabian Groffen Date: Fri, 23 Sep 2011 18:35:29 +0000 (+0200) Subject: install_hooks: fix variable name for PORTAGE_CONFIGROOT X-Git-Tag: v2.2.0_alpha60~33 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ed9982d781a81651db0480af128a6509eafe358a;p=portage.git install_hooks: fix variable name for PORTAGE_CONFIGROOT in addition, omit the leading slash, since PORTAGE_CONFIGROOT contains a trailing slash --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index a54ce2b79..882d17165 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -986,7 +986,7 @@ success_hooks() { } install_hooks() { - local hooks_dir="${PORTAGE_CONFIG_ROOT}/etc/portage/hooks/install" + local hooks_dir="${PORTAGE_CONFIGROOT}etc/portage/hooks/install" local fp local ret=0 shopt -s nullglob