[packages/rpm-build-tools] builder: make default for USE_TEEBOTH depend on perl availability
atler
atler at pld-linux.org
Mon Jun 12 01:26:31 CEST 2023
commit bcf40ca3d3392a37f0d3720ec2ac4d98377e194a
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Jun 12 01:26:15 2023 +0200
builder: make default for USE_TEEBOTH depend on perl availability
builder.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/builder.sh b/builder.sh
index f57dab6..c83990c 100755
--- a/builder.sh
+++ b/builder.sh
@@ -87,7 +87,7 @@ LOGFILE=''
# use teeboth Perl wrapper
# temporary option to disable if broken
-USE_TEEBOTH=yes
+command -v perl > /dev/null 2>&1 && USE_TEEBOTH=yes || USE_TEEBOTH=no
LOGDIR=""
LOGDIROK=""
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/bcf40ca3d3392a37f0d3720ec2ac4d98377e194a
More information about the pld-cvs-commit
mailing list