From 1f75ab7671909011ded18941788351cdd131ba30 Mon Sep 17 00:00:00 2001 From: Paul Johnson Date: Thu, 19 Dec 2024 16:31:24 +0100 Subject: [PATCH] Remove unused code --- utils/dc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/utils/dc b/utils/dc index 54138eaf..194a54ed 100755 --- a/utils/dc +++ b/utils/dc @@ -7,8 +7,6 @@ # The latest version of this software should be available from my homepage: # http://www.pjcj.net -# set -x - if ((BASH_VERSINFO[0] < 5)); then echo "❌ bash version $BASH_VERSION is too old. Please install v5 or higher." exit 1 @@ -151,10 +149,10 @@ setup() { export CPANCOVER_DOCKER=$docker export CPANCOVER_IMAGE=$docker_image export CPANCOVER_DRYRUN=$dryrun - - dcdir=$("$readl" -f "$srcdir/..") } + + dcdir=$("$readl" -f "$srcdir/..") nice_cpus() { perl -Iutils -MDevel::Cover::BuildUtils=nice_cpus -e "print nice_cpus" }