Admin/Release/mirror-website
author noschinl
Thu, 20 Feb 2014 15:14:37 +0100
changeset 55604 42e4e8c2e8dc
parent 54674 dae47f997268
child 68750 7087748996af
permissions -rwxr-xr-x
less flex-flex pairs

#!/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