mdbx-testing: проверка версии bash >= 4.3

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2024-11-06 21:17:39 +03:00
parent 6c56ed97bb
commit 00be608af9

View File

@ -3,6 +3,12 @@
# Леонид Юрьев aka Leonid Yuriev <leo@yuriev.ru> # Леонид Юрьев aka Leonid Yuriev <leo@yuriev.ru>
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
if [ "${BASH_VERSION}" \< "4.3" ]; then
echo "Bash-shell 4.3 or later is REQUIRED." >&2
echo "Present Bash-shell version is '${BASH_VERSION}' (BASH_VERSION)" >&2
exit
fi
LIST=basic LIST=basic
FROM=1 FROM=1
UPTO=9999999 UPTO=9999999