diff --git a/rivet.sh b/rivet.sh index 3eed5fb..2803372 100755 --- a/rivet.sh +++ b/rivet.sh @@ -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