Admin/Release/mirror-website
author wenzelm
Tue, 12 Feb 2013 17:39:45 +0100
changeset 51087 175b43e0b9ce
parent 48190 76b6207eb000
child 54636 cc126144f662
permissions -rwxr-xr-x
detect more hosts;

#!/usr/bin/env bash
#
# mirrors the Isabelle website

HOST=$(hostname)

case ${HOST} in
  sunbroy* | atbroy* | macbroy* | lxbroy*)
    DEST=/home/html/isabelle/html-data
    ;;
  *.cl.cam.ac.uk)
    USER=paulson
    DEST=/anfs/www/html/research/hvg/Isabelle
    ;;
  *)
    echo "Unknown destination directory for ${HOST}"
    exit 2
    ;;
esac

exec $(dirname $0)/isasync $DEST