update check

This commit is contained in:
Gabriel Grubba
2024-02-22 09:33:17 -03:00
parent 1a67d32cfe
commit ffcf357d03

View File

@@ -39,7 +39,7 @@ echo Found build $DIRNAME
trap "echo Found surprising number of tarballs." EXIT
# Check to make sure the proper number of each kind of file is there.
aws s3 ls s3://com.meteor.jenkins/$DIRNAME/ | \
perl -nle 'if (/\.tar\.gz/) { ++$TAR } else { die "something weird" } END { exit !($TAR == 3) }'
perl -nle 'if (/\.tar\.gz/) { ++$TAR } else { die "something weird" } END { exit !($TAR == 4) }'
trap - EXIT