clean destination directory before build
This commit is contained in:
parent
e0367536ea
commit
4558654a48
1 changed files with 1 additions and 0 deletions
1
rivet.sh
1
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue