summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
author Erich Ritz <erich.public@protonmail.com>2024-03-30 09:20:45 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-05 13:06:33 +0700
commit834a3f7c3e273cdd873224e344f27dbc5306cff4 (patch)
treec3b65f7666a7ad93c4d0afbc44f875542592aeed /system
parentad51522ea7029e5aa0b084eea4647c040d327599 (diff)
downloadslackbuilds-834a3f7c3e273cdd873224e344f27dbc5306cff4.tar.gz
slackbuilds-834a3f7c3e273cdd873224e344f27dbc5306cff4.tar.xz
system/bat: Fix build for -current.
Signed-off-by: Erich Ritz <erich.public@protonmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/bat/bat.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/bat/bat.SlackBuild b/system/bat/bat.SlackBuild
index bdc66ee3ae..347ed9e49c 100644
--- a/system/bat/bat.SlackBuild
+++ b/system/bat/bat.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for bat
# Copyright 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright 2021-2023 Erich Ritz, Jenks, Oklahoma, USA
+# Copyright 2021-2024 Erich Ritz, Jenks, Oklahoma, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=bat
VERSION=${VERSION:-0.24.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -141,7 +141,7 @@ mkdir vendor
printf ' "package": "%s"' "$cksum"
printf "}\n"
- } | python -c "import sys, json; data = sys.stdin.read(); print json.dumps(json.loads(data), sort_keys=True, indent=4, separators=(',', ' : '))" > $dep-$ver/.cargo-checksum.json
+ } | python3 -c "import sys, json; data = sys.stdin.read(); print (json.dumps(json.loads(data), sort_keys=True, indent=4, separators=(',', ' : ')))" > $dep-$ver/.cargo-checksum.json
done
)