diff options
author | Matt Rude <[email protected]> | 2011-07-03 19:28:30 -0500 |
---|---|---|
committer | Matt Rude <[email protected]> | 2011-07-03 19:28:30 -0500 |
commit | 8e2c41e7813e1a5c7fadb276d32fb78d09935ae1 (patch) | |
tree | 2d48a2f7ef591a7d05d3a628c7b1807ab3722880 /scripts/build-site.sh | |
parent | 6bc091fa5ecdf72b70e733637d167e3f29666c4b (diff) | |
download | time.mattrude.com-8e2c41e7813e1a5c7fadb276d32fb78d09935ae1.tar.gz time.mattrude.com-8e2c41e7813e1a5c7fadb276d32fb78d09935ae1.tar.bz2 time.mattrude.com-8e2c41e7813e1a5c7fadb276d32fb78d09935ae1.zip |
Create and chown the themp folder so server may always update the graphs, fixes #11
Diffstat (limited to 'scripts/build-site.sh')
-rwxr-xr-x | scripts/build-site.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 " <div id='title'> |