summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2023-05-07 03:37:29 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-13 19:27:31 +0700
commit9bf2fe8937170f08a9e5b2afd74e65ecfb55117e (patch)
tree3f733fd36bc7ca36c8bc7a27f41f27108fb70535
parent11e0f3ae1c6404bb4d3a2c6a7efb7d697f966108 (diff)
downloadslackbuilds-9bf2fe8937170f08a9e5b2afd74e65ecfb55117e.tar.gz
slackbuilds-9bf2fe8937170f08a9e5b2afd74e65ecfb55117e.tar.xz
system/pax-utils: Fix shebang line in lddtree.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/pax-utils/pax-utils.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/system/pax-utils/pax-utils.SlackBuild b/system/pax-utils/pax-utils.SlackBuild
index 990c3f5f43..d8b732e06c 100644
--- a/system/pax-utils/pax-utils.SlackBuild
+++ b/system/pax-utils/pax-utils.SlackBuild
@@ -6,11 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230507 bkw: BUILD=2, fix shebang in lddtree. No idea how that
+# got past me in the first place...
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pax-utils
VERSION=${VERSION:-1.3.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,6 +79,9 @@ cd ..
gzip -9 $PKG/usr/man/man*/*
+# 20230507 bkw: our /usr/bin/python is still python 2...
+sed -i '1s/python$/python3/' $PKG/usr/bin/lddtree
+
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
cp -a BUGS COPYING README* TODO $PKGDOC