Admin/Release/mirror-website
author wenzelm
Sat, 02 Aug 2014 19:38:32 +0200
changeset 57844 ae3eac418c5f
parent 54674 dae47f997268
child 68750 7087748996af
permissions -rwxr-xr-x
more emphatic warning via error_message (violating historic TTY protocol);

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