From 35d45c85048cbc5211a68b90717be14eae1e9d0b Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Mon, 22 Oct 2018 16:57:52 +0200 Subject: [PATCH] use [ A ] && [ B ] instead of [ A -a B ] as recommended by shellcheck --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 97b0d2a..2193f42 100755 --- a/test.sh +++ b/test.sh @@ -61,7 +61,7 @@ for dist in stable testing unstable; do > sizes for variant in minbase buildd -; do # skip because of different userids for apt/systemd - if [ "$dist" = 'stable' -a "$variant" = '-' ]; then + if [ "$dist" = 'stable' ] && [ "$variant" = '-' ]; then continue fi echo =========================================================