summaryrefslogtreecommitdiffstats
path: root/bin/misc-functions.sh
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2012-10-18 00:54:14 +0200
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2012-10-18 00:54:14 +0200
commit3f6ebaf5f56f2c31e3639ec16c8e21db0a734cc8 (patch)
treedb8667afeb31aee723e3d6c0b79dd17e224539e6 /bin/misc-functions.sh
parente72d8353f7a9493e0508c367e416423b52ea22ce (diff)
downloadportage-3f6ebaf5f56f2c31e3639ec16c8e21db0a734cc8.tar.gz
portage-3f6ebaf5f56f2c31e3639ec16c8e21db0a734cc8.tar.bz2
portage-3f6ebaf5f56f2c31e3639ec16c8e21db0a734cc8.zip
Make __source_all_bashrcs() and install_symlink_html_docs() compatible with subslots.
Diffstat (limited to 'bin/misc-functions.sh')
-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 4a1c46dc3..f3b0cc0a3 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -34,7 +34,7 @@ install_symlink_html_docs() {
if [ -z "${SLOT}" -o "${SLOT}" = "0" ] ; then
mysympath="${DOC_SYMLINKS_DIR}/${CATEGORY}/${PN}"
else
- mysympath="${DOC_SYMLINKS_DIR}/${CATEGORY}/${PN}-${SLOT}"
+ mysympath="${DOC_SYMLINKS_DIR}/${CATEGORY}/${PN}-${SLOT%/*}"
fi
einfo "Symlinking ${mysympath} to the HTML documentation"
dodir "${DOC_SYMLINKS_DIR}/${CATEGORY}"