Admin/Release/mirror-website
author blanchet
Thu, 13 Mar 2014 13:18:14 +0100
changeset 56092 1ba075db8fe4
parent 54674 dae47f997268
child 68750 7087748996af
permissions -rwxr-xr-x
renamed (hardly used) 'prod_pred' and 'option_pred' to 'pred_prod' and 'pred_option'

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