scripts/simplex-chat-reproduce-builds-android: fixes (#6523)

* scripts/simplex-chat-reproduce-builds-android: fix check

* drop the case
This commit is contained in:
sh
2025-12-22 09:01:27 +00:00
committed by GitHub
parent e432f7a060
commit 4f65763d59

View File

@@ -36,16 +36,14 @@ cleanup() {
trap 'cleanup' EXIT INT
check() {
commands="$1"
set +u
for i in $commands; do
case $i in
*)
if ! command -v "$i" > /dev/null 2>&1; then
commands_failed="$i $commands_failed"
fi
;;
esac
if ! command -v "$i" > /dev/null 2>&1; then
commands_failed="$i $commands_failed"
fi
done
if [ -n "$commands_failed" ]; then
@@ -188,7 +186,7 @@ Continue?'
read _
check
check "$CMDS"
mkdir -p "${apk_directory}"