diff --git a/coverage.sh b/coverage.sh index cf795f5..eb8ebd2 100755 --- a/coverage.sh +++ b/coverage.sh @@ -4,7 +4,10 @@ set -eu mirrordir="./shared/cache/debian" -./make_mirror.sh +if [ ! -e "$mirrordir" ]; then + echo "run ./make_mirror.sh before running $0" >&2 + exit 1 +fi # we use -f because the file might not exist rm -f shared/cover_db.img