aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-03 09:09:27 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-04 17:53:36 +0700
commit3f8e5cedc29091b9859cb4e64d330982fe2e3750 (patch)
treeef85d0151176e6519984dc0ba9256572266e3a5b /misc
parent58576159b0e95e13f04ce7628cbc69d90166a249 (diff)
misc/txt2tags: Add the temporary PKG dir to PATH to let it build.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/txt2tags/txt2tags.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/txt2tags/txt2tags.SlackBuild b/misc/txt2tags/txt2tags.SlackBuild
index 95198d5d0624..8dd64c27f726 100644
--- a/misc/txt2tags/txt2tags.SlackBuild
+++ b/misc/txt2tags/txt2tags.SlackBuild
@@ -71,6 +71,8 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
python3 setup.py install --root=$PKG
+export PATH=$PATH:$PKG/usr/bin
+export PYTHONPATH=$PKG/$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"):$PYTHONPATH
cd docs
sh build-docs.sh
rm */*.t2t *.sh