Fix 'run' script and re-generate blueprint for scenario 077.

This commit is contained in:
KtorZ
2023-03-16 18:40:50 +01:00
committed by Lucas
parent a5e505e6b0
commit 45575cae96
3 changed files with 38 additions and 52 deletions

View File

@@ -16,7 +16,7 @@ TARGET="$WORKDIR/$(basename $1)"
TMP=$(mktemp)
VALIDATORS=$(find $TARGET -type f -path "*validators/*.ak")
if [ -z $VALIDATORS ]; then
if [ -z "$VALIDATORS" ]; then
RESULT=$(cargo run --quiet -- check $TARGET 2>$TMP)
else
RESULT=$(cargo run --quiet -- build $TARGET 2>$TMP)