summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-09-23 20:35:29 +0200
committerFabian Groffen <grobian@gentoo.org>2011-09-23 20:35:29 +0200
commited9982d781a81651db0480af128a6509eafe358a (patch)
treeedb1caa24f796a8ff119bdc575f546949c54c6cf
parent3d07f74a2fb2e0480e126335f6981218f60da824 (diff)
downloadportage-ed9982d781a81651db0480af128a6509eafe358a.tar.gz
portage-ed9982d781a81651db0480af128a6509eafe358a.tar.bz2
portage-ed9982d781a81651db0480af128a6509eafe358a.zip
install_hooks: fix variable name for PORTAGE_CONFIGROOT
in addition, omit the leading slash, since PORTAGE_CONFIGROOT contains a trailing slash
-rwxr-xr-xbin/misc-functions.sh2
1 files changed, 1 insertions, 1 deletions
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