clean destination directory before build

pull/1/head
Alessandro Mauri 4 years ago
parent e0367536ea
commit 4558654a48
  1. 1
      rivet.sh

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

Loading…
Cancel
Save