mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-29 10:09:59 +00:00
scripts/simplex-chat-reproduce-builds-android: fixes (#6523)
* scripts/simplex-chat-reproduce-builds-android: fix check * drop the case
This commit is contained in:
@@ -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}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user