Makes more sense to overwrite output files

master
trémeur 1 year ago
parent 938888f015
commit 008c618c16

@ -46,24 +46,15 @@ do
then then
if test -f "texts/${ficstring}.html" if test -f "texts/${ficstring}.html"
then then
if ! test -f "build/${builddir}/${ficstring}.html" mv "texts/${ficstring}.html" "build/${builddir}/"
then
mv "texts/${ficstring}.html" "build/${builddir}/"
fi
fi fi
if test -f "texts/${ficstring}.pdf" if test -f "texts/${ficstring}.pdf"
then then
if ! test -f "build/${builddir}/${ficstring}.pdf" mv "texts/${ficstring}.pdf" "build/${builddir}/"
then
mv "texts/${ficstring}.pdf" "build/${builddir}/"
fi
fi fi
if test -f "texts/${ficstring}.epub" if test -f "texts/${ficstring}.epub"
then then
if ! test -f "build/${builddir}/${ficstring}.epub" mv "texts/${ficstring}.epub" "build/${builddir}/"
then
mv "texts/${ficstring}.epub" "build/${builddir}/"
fi
fi fi
fi fi
fi fi

Loading…
Cancel
Save