From 8e2c41e7813e1a5c7fadb276d32fb78d09935ae1 Mon Sep 17 00:00:00 2001 From: Matt Rude Date: Sun, 3 Jul 2011 19:28:30 -0500 Subject: Create and chown the themp folder so server may always update the graphs, fixes #11 --- scripts/build-site.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/build-site.sh b/scripts/build-site.sh index d98927e..85142af 100755 --- a/scripts/build-site.sh +++ b/scripts/build-site.sh @@ -9,7 +9,9 @@ DOCUMENTSDIR=$ROOT/documentation ### Building the README Page ### cd $ROOT -rm -f $ROOT/readme.tmp $TEMPLATESDIR/readme.html +rm -rf $ROOT/readme.tmp $TEMPLATESDIR/readme.html $ROOT/tmp +mkdir -p $ROOT/tmp +chown apache:apache $ROOT/tmp markdown $ROOT/README.md > $ROOT/readme.tmp cat $TEMPLATESDIR/head > $DOCUMENTSDIR/readme.html echo "
-- cgit v1.2.3-59-ga6da