1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

python: make gen_check fail if coins.json are outdated

This commit is contained in:
matejcik 2019-08-23 12:48:23 +02:00
parent 566753e551
commit 9ce2fceabe
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,8 @@ if [ "$1" == "--check" ]; then
TMP=$(mktemp) TMP=$(mktemp)
$BUILD_COINS_AT $TMP $BUILD_COINS_AT $TMP
diff -q $DEST $TMP diff -q $DEST $TMP
if [ "$?" -ne 0 ]; then ERR=$?
if [ "$ERR" -ne 0 ]; then
echo "Please run $0" echo "Please run $0"
fi fi
rm $TMP rm $TMP

File diff suppressed because one or more lines are too long