From: Arfrever Frehtes Taifersar Arahesis Date: Wed, 24 Oct 2012 21:00:20 +0000 (+0200) Subject: install_symlink_html_docs(): Additional fix for compatibility with subslots. X-Git-Tag: v2.2.0_alpha142~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5ebd980500d788ec6adfe2d004d22f954e5ab54d;p=portage.git install_symlink_html_docs(): Additional fix for compatibility with subslots. --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index f3b0cc0a3..9b280588c 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -31,7 +31,7 @@ install_symlink_html_docs() { done if [ -n "${mydocdir}" ] ; then local mysympath - if [ -z "${SLOT}" -o "${SLOT}" = "0" ] ; then + if [ -z "${SLOT}" -o "${SLOT%/*}" = "0" ] ; then mysympath="${DOC_SYMLINKS_DIR}/${CATEGORY}/${PN}" else mysympath="${DOC_SYMLINKS_DIR}/${CATEGORY}/${PN}-${SLOT%/*}"