mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-21 23:18:13 +00:00
python: make gen_check fail if coins.json are outdated
This commit is contained in:
parent
566753e551
commit
9ce2fceabe
@ -14,7 +14,8 @@ if [ "$1" == "--check" ]; then
|
||||
TMP=$(mktemp)
|
||||
$BUILD_COINS_AT $TMP
|
||||
diff -q $DEST $TMP
|
||||
if [ "$?" -ne 0 ]; then
|
||||
ERR=$?
|
||||
if [ "$ERR" -ne 0 ]; then
|
||||
echo "Please run $0"
|
||||
fi
|
||||
rm $TMP
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user