From ed9982d781a81651db0480af128a6509eafe358a Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Fri, 23 Sep 2011 20:35:29 +0200 Subject: install_hooks: fix variable name for PORTAGE_CONFIGROOT in addition, omit the leading slash, since PORTAGE_CONFIGROOT contains a trailing slash --- bin/misc-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/misc-functions.sh') 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 -- cgit v1.2.3-1-g7c22