use [ A ] && [ B ] instead of [ A -a B ] as recommended by shellcheck

This commit is contained in:
Johannes 'josch' Schauer 2018-10-22 16:57:52 +02:00
parent 2d6703add0
commit 35d45c8504
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -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 =========================================================