view scripts/burst @ 3008:58e305f11375

level3 makefiles: Merge identical defs/makefile
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 26 Oct 2014 16:40:53 +0100
parents d76362b779c0
children f3decf362611
line wrap: on
line source

#!/bin/sh -e

HTDOCS=/home/project-web/nitros9/htdocs
TODAY=$(date +%Y%m%d)

cd $HTDOCS
mkdir latest-$TODAY
cd latest-$TODAY
unzip -o ../nitros9project-$TODAY.zip
echo "Options +Indexes" > .htaccess

cd $HTDOCS
rm latest
ln -s latest-$TODAY latest
rm nitros9project.zip
ln -s nitros9project-$TODAY.zip nitros9project.zip