]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
builder: make default for USE_TEEBOTH depend on perl availability
authorJan Palus <atler@pld-linux.org>
Sun, 11 Jun 2023 23:26:15 +0000 (01:26 +0200)
committerJan Palus <atler@pld-linux.org>
Sun, 11 Jun 2023 23:26:15 +0000 (01:26 +0200)
builder.sh

index f57dab6289043dfb9b669b813457676fef5ce5a5..c83990cd3b506f0f214e292575be68f58f3b4b51 100755 (executable)
@@ -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=""
This page took 0.060166 seconds and 4 git commands to generate.