summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-04-13 00:59:20 +0000
committer Eric Hameleers <alien@slackware.com>2024-04-13 03:28:42 +0200
commitce3e6fa735b792d09ae674beb9acfa04e21a12d9 (patch)
treeee5ca14db581cc45186fdc237b7976970499cf9e /source
parentb280795dd541d3d520a83295c4049b32f50df32e (diff)
downloadcurrent-ce3e6fa735b792d09ae674beb9acfa04e21a12d9.tar.gz
current-ce3e6fa735b792d09ae674beb9acfa04e21a12d9.tar.xz
Sat Apr 13 00:59:20 UTC 202420240413005920
l/python-docutils-0.21.1-x86_64-2.txz: Rebuilt. Fix ridiculous broken symlink. Thanks to marav.
Diffstat (limited to 'source')
-rwxr-xr-xsource/l/python-docutils/python-docutils.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/l/python-docutils/python-docutils.SlackBuild b/source/l/python-docutils/python-docutils.SlackBuild
index 7a9476ebd..6bbf75897 100755
--- a/source/l/python-docutils/python-docutils.SlackBuild
+++ b/source/l/python-docutils/python-docutils.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=python-docutils
VERSION=${VERSION:-$(echo docutils-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
SRCNAM=docutils
@@ -65,10 +65,12 @@ unshare -n python3 -m build --wheel --no-isolation || exit 1
python3 -m installer --destdir "$PKG" dist/*.whl || exit 1
-
+# Gotta be careful with that *
cd $PKG/usr/bin
for i in *.py; do
- ln -s "$i" "$PKG/usr/bin/$(basename $i .py)"
+ if [ -r "$i" ]; then
+ ln -s "$i" "$PKG/usr/bin/$(basename $i .py)"
+ fi
done
cd -