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:
parent
59724808cb
commit
2f05dc6976
|
@ -77,6 +77,7 @@ if [ -n "$instrument" ]; then
|
||||||
subtitle="${subtitle} ($instrument)"
|
subtitle="${subtitle} ($instrument)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
rm -rf $webdir
|
||||||
mkdir -p $webdir
|
mkdir -p $webdir
|
||||||
|
|
||||||
sed -e "s/@BUILD@/$buildno/" -e "s/@SUBTITLE@/$subtitle/" \
|
sed -e "s/@BUILD@/$buildno/" -e "s/@SUBTITLE@/$subtitle/" \
|
||||||
|
|
Loading…
Reference in New Issue