aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-31 19:28:19 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-31 19:28:19 +0000
commit4278544d6985064a4b1d4b07abde43053290bde3 (patch)
tree550e0c2da5bca4a1d10404239725b3a267940767
parent1707e92e1b5cc1cc1d9fbf3da3e8ab25ad8fce40 (diff)
downloadpaludis-4278544d6985064a4b1d4b07abde43053290bde3.tar.gz
paludis-4278544d6985064a4b1d4b07abde43053290bde3.tar.xz
Grab INFOPATH from /etc/profile.env
Fixes: ticket:767
-rwxr-xr-xhooks/gnu_info_index.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/hooks/gnu_info_index.bash b/hooks/gnu_info_index.bash
index 4b96e59..ce93374 100755
--- a/hooks/gnu_info_index.bash
+++ b/hooks/gnu_info_index.bash
@@ -27,6 +27,9 @@ fi
echo
einfo_unhooked "Checking whether the GNU info directory needs updating..."
+# ticket:767
+export INFOPATH=$(source /etc/profile.env 2>/dev/null ; echo $INFOPATH )
+
regen_info_dirs=
vdb_loc=$(${PALUDIS_COMMAND} --configuration-variable installed location )
for info_path in ${INFOPATH//:/ } ; do