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:
parent
566753e551
commit
9ce2fceabe
@ -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
Loading…
Reference in New Issue
Block a user