Admin/Release/mirror-website
author wenzelm
Thu, 05 Dec 2013 18:28:06 +0100
changeset 54674 dae47f997268
parent 54636 cc126144f662
child 68750 7087748996af
permissions -rwxr-xr-x
recover 175b43e0b9ce from lost update in cc126144f662;

#!/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/bigdisc/lp15/Isabelle
    ;;
  *)
    echo "Unknown destination directory for ${HOST}"
    exit 2
    ;;
esac

exec $(dirname $0)/isasync $DEST