use [ A ] && [ B ] instead of [ A -a B ] as recommended by shellcheck
This commit is contained in:
parent
2d6703add0
commit
35d45c8504
1 changed files with 1 additions and 1 deletions
2
test.sh
2
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 =========================================================
|
||||
|
|
Loading…
Reference in a new issue