coverage.sh: don't run make_mirror.sh

This commit is contained in:
Johannes 'josch' Schauer 2019-10-18 22:46:23 +02:00
parent dde777123e
commit 6bbf3943d1
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -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