diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2012-10-24 23:00:20 +0200 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2012-10-24 23:00:20 +0200 |
commit | 5ebd980500d788ec6adfe2d004d22f954e5ab54d (patch) | |
tree | 359f1b4824c8201c58e1db6ab6c669546099d62b | |
parent | 38e7acf72306b7dc91c311afd64f4cc2cdf5af6a (diff) | |
download | portage-5ebd980500d788ec6adfe2d004d22f954e5ab54d.tar.gz portage-5ebd980500d788ec6adfe2d004d22f954e5ab54d.tar.bz2 portage-5ebd980500d788ec6adfe2d004d22f954e5ab54d.zip |
install_symlink_html_docs(): Additional fix for compatibility with subslots.
-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 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%/*}" |