summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2012-10-24 23:00:20 +0200
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2012-10-24 23:00:20 +0200
commit5ebd980500d788ec6adfe2d004d22f954e5ab54d (patch)
tree359f1b4824c8201c58e1db6ab6c669546099d62b /bin
parent38e7acf72306b7dc91c311afd64f4cc2cdf5af6a (diff)
downloadportage-5ebd980500d788ec6adfe2d004d22f954e5ab54d.tar.gz
portage-5ebd980500d788ec6adfe2d004d22f954e5ab54d.tar.bz2
portage-5ebd980500d788ec6adfe2d004d22f954e5ab54d.zip
install_symlink_html_docs(): Additional fix for compatibility with subslots.
Diffstat (limited to 'bin')
-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 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%/*}"