0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00
Anki-Android/tools/check-keystore.sh
2024-06-24 12:28:04 +00:00

21 lines
441 B
Bash

#!/bin/bash
if [ "$KEYSTOREPATH" == "" ]; then
read -rsp "Enter keystore path: " KEYSTOREPATH; echo
export KEYSTOREPATH
fi
if [ "$KEYSTOREPWD" == "" ]; then
read -rsp "Enter keystore password: " KEYSTOREPWD; echo
export KEYSTOREPWD
fi
if [ "$KEYALIAS" == "" ]; then
read -rsp "Enter key alias: " KEYALIAS; echo
export KEYALIAS
fi
if [ "$KEYPWD" == "" ]; then
read -rsp "Enter key password: " KEYPWD; echo
export KEYPWD
fi