clean destination directory before build

This commit is contained in:
Alessandro Mauri 2020-09-10 16:38:47 +02:00
parent e0367536ea
commit 4558654a48

View File

@ -107,6 +107,7 @@ if ! [ -d "$srcdir" ]; then
usage
fi
rm -rf "$destdir"
mkdir -p "$destdir"
cp -r "$srcdir"/* "$destdir"
rm -f "$destdir"/_header.html "$destdir"/_footer.html