diff --git a/checks/linkcheck/lychee.sh b/checks/linkcheck/lychee.sh index 6c63cd3..fea01ae 100755 --- a/checks/linkcheck/lychee.sh +++ b/checks/linkcheck/lychee.sh @@ -91,7 +91,7 @@ mv sorted_filename.tsv failed-wiki-links.csv cat failed-wiki-links.csv dest="../lychee-$(printf '%(%Y-%m-%d)T\n')-report" -mkdir "$dest" +mkdir -p "$dest" cp ../allowed.links lychee*.log failed-wiki-links.csv "$dest" popd || exit