Skip to content
Snippets Groups Projects
Verified Commit a7c037a9 authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Keep PDFs when recreating outdir.

parent c1e3d321
No related branches found
No related tags found
No related merge requests found
......@@ -29,8 +29,11 @@ while getopts "n" o; do
done
shift $((OPTIND-1))
rm -rf ${OUTDIR}
mkdir -p ${OUTDIR}
mkdir -p ${OUTDIR}/tmp
mv ${OUTDIR}/*.pdf ${OUTDIR}/tmp || true
rm -f ${OUTDIR}/*.*
mv ${OUTDIR}/tmp/*.pdf ${OUTDIR}
rm -rf ${OUTDIR}/tmp
if [ -n "$CI_BUILD_REF" ];
then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment