diff options
author | Dmitry V. Levin <ldv@strace.io> | 2023-03-31 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-03-31 08:00:00 +0000 |
commit | b6011a23d51acff6eb492cb33aa5c2582da6fab4 (patch) | |
tree | e34b7b9b764d99abdf902166b57893b3ac7009b6 /ci | |
parent | b7ba550110f2f93fabb50976ea920fcb656c9a8e (diff) | |
download | pam-b6011a23d51acff6eb492cb33aa5c2582da6fab4.tar.gz pam-b6011a23d51acff6eb492cb33aa5c2582da6fab4.tar.bz2 pam-b6011a23d51acff6eb492cb33aa5c2582da6fab4.zip |
treewide: fix unnecessary $ on arithmetic variables
This should fix shellcheck warning SC2004.
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/run-build-and-tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/run-build-and-tests.sh b/ci/run-build-and-tests.sh index 657fd6ff..e5a76562 100755 --- a/ci/run-build-and-tests.sh +++ b/ci/run-build-and-tests.sh @@ -48,7 +48,7 @@ autoconf --version |head -1 automake --version |head -1 libtoolize --version |head -1 kver="$(printf '%s\n%s\n' '#include <linux/version.h>' 'LINUX_VERSION_CODE' | $CC $CPPFLAGS -E -P -)" -printf 'kernel-headers %s.%s.%s\n' $(($kver/65536)) $(($kver/256%256)) $(($kver%256)) +printf 'kernel-headers %s.%s.%s\n' $((kver/65536)) $((kver/256%256)) $((kver%256)) echo 'END OF BUILD ENVIRONMENT INFORMATION' export CC_FOR_BUILD="$CC" |