Fixed style warning from shellcheck re x in comparisons.

This commit is contained in:
John Safranek
2023-08-04 16:41:39 -07:00
parent f3af4542e7
commit 0654ed3549

View File

@ -38,8 +38,8 @@ TEST_DIR="${TEST_DIR:-XXX-fips-test}"
FLAVOR="${FLAVOR:-linux}"
KEEP="${KEEP:-no}"
while [ "x$1" != 'x' ]; do
if [ "x$1" = 'xkeep' ]; then KEEP='yes'; else FLAVOR="$1"; fi
while [ "$1" ]; do
if [ "$1" = 'keep' ]; then KEEP='yes'; else FLAVOR="$1"; fi
shift
done