From 7285d136599a80f3deeed5b79b3da4ab4f921663 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Sun, 4 Jun 2023 18:41:58 +0200 Subject: [PATCH] sphinx, fix symbolic links (#8796) --- dev-python/sphinx/sphinx-7.0.1.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/sphinx/sphinx-7.0.1.recipe b/dev-python/sphinx/sphinx-7.0.1.recipe index e3375df4d..796062d9d 100644 --- a/dev-python/sphinx/sphinx-7.0.1.recipe +++ b/dev-python/sphinx/sphinx-7.0.1.recipe @@ -21,7 +21,7 @@ extensions." HOMEPAGE="https://www.sphinx-doc.org/" COPYRIGHT="2023 Georg Brandl" LICENSE="BSD (2-clause)" -REVISION="1" +REVISION="2" SOURCE_URI="https://github.com/sphinx-doc/sphinx/archive/refs/tags/v$portVersion.tar.gz" CHECKSUM_SHA256="07615442c34dbbf1844d4b514c659c27a8fa14819d6999b920773aed798d00c9" @@ -120,7 +120,7 @@ INSTALL() # And provide suffix-less symlinks for the default version if [ $pythonVersion = $defaultVersion ]; then for f in $binDir/*; do - ln -sr $f $f-$pythonVersion + ln -sr $f ${f%-$pythonVersion} done fi