view scripts/burst @ 3047:a951ab0b3003

level1 6309: Switch to native mode early in rel.asm Otherwise it will crash in the first F$Link call.
author Robert Gault <robert.gault@att.net>
date Sat, 24 Jan 2015 23:15:55 +0100
parents f3decf362611
children d9cb87a32d7a
line wrap: on
line source

#!/bin/sh -e

NAME=$1
TAG=$2

HTDOCS=/home/project-web/nitros9/htdocs

if [ -z "$TAG" ]; then
	echo "$0: Missing name and date tag"
	exit 1
fi

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

cd $HTDOCS
rm latest
ln -s latest-$TAG latest
rm $NAME.zip
ln -s $NAME-$TAG.zip $NAME.zip