diff options
author | Fabian Groffen <grobian@gentoo.org> | 2011-09-23 20:35:29 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2011-09-23 20:35:29 +0200 |
commit | ed9982d781a81651db0480af128a6509eafe358a (patch) | |
tree | edb1caa24f796a8ff119bdc575f546949c54c6cf | |
parent | 3d07f74a2fb2e0480e126335f6981218f60da824 (diff) | |
download | portage-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-x | bin/misc-functions.sh | 2 |
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 |