python: make gen_check fail if coins.json are outdated

pull/114/merge
matejcik 5 years ago
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…
Cancel
Save