fix non-POSIX [[ ]]
commit0b5cf151c4d97f8344c06c8ef3da6ff9b2d4bae6
authorbrandon s allbery kf8nh <allbery.b@gmail.com>
Thu, 4 Jul 2024 01:23:58 +0000 (3 21:23 -0400)
committerMikolaj <281893+Mikolaj@users.noreply.github.com>
Sat, 6 Jul 2024 17:30:07 +0000 (6 17:30 +0000)
tree11fd75e14364a25c07ebbf603654d9cb4cda1b09
parent2a09ec058636d8fe4d8cefdafbd7187eae279ef5
fix non-POSIX [[ ]]

Otherwise CI prints `validate.sh: 332: [[: not found` and the line
does nothing (but `validate.sh` continues to run), unless the
system shell is `ksh` / `bash` / `zsh`. This may explain
https://github.com/haskell/cabal/pull/10114#issuecomment-2178163927.
validate.sh