From: Eero Tamminen Date: Tue, 23 Jan 2024 10:24:59 +0000 (+0100) Subject: .cirrus.yml: `$` is redundant for variable names within `$((...))` X-Git-Tag: 6.0.0-rc0~1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dbc5e94f9f36ec7957ae367b77a051c9e6dc683;p=thirdparty%2Fcollectd.git .cirrus.yml: `$` is redundant for variable names within `$((...))` ... as shellcheck likes to often remind me. --- diff --git a/.cirrus.yml b/.cirrus.yml index c52a496d8..1fe4ec03b 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -153,7 +153,7 @@ non_standard_toolchains_task: if ! $(ldd ".libs/${plugin}.so" 2>/dev/null | grep -q 'libstatgrab.so'); then echo "plugin ${plugin} is NOT linked against libstatgrab:" ldd ".libs/${plugin}.so" | sed -e 's/^/ /' - err=$(($err + 1)) + err=$((err + 1)) fi done exit $err