Ensure that web directory doesn't exist.

I had a problem in a build with one web directory being created as a file.
This commit is contained in:
Jim Hague 2014-06-17 14:13:28 +01:00
parent 59724808cb
commit 2f05dc6976
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ if [ -n "$instrument" ]; then
subtitle="${subtitle} ($instrument)"
fi
rm -rf $webdir
mkdir -p $webdir
sed -e "s/@BUILD@/$buildno/" -e "s/@SUBTITLE@/$subtitle/" \