linux/make_tarball.sh: remove old target directory before creating.

This commit is contained in:
John MacFarlane 2017-03-19 20:09:38 +01:00
parent badbe09187
commit 43a429b182

View file

@ -4,6 +4,7 @@ VERSION=$(grep -e '^Version' pandoc.cabal | awk '{print $2}')
TARGET=pandoc-$VERSION
cd /artifacts
rm -rf $TARGET
mkdir $TARGET
mkdir $TARGET/bin $TARGET/share $TARGET/share/man $TARGET/share/man/man1
./pandoc-citeproc --man > $TARGET/share/man/man1/pandoc-citeproc.1