Admin/Release/mirror-website
author Andreas Lochbihler
Tue, 01 Jan 2019 18:33:19 +0100
changeset 69569 2d88bf80c84f
parent 68750 7087748996af
permissions -rwxr-xr-x
merged

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

HOST=$(hostname)

case ${HOST} in
  sunbroy* | atbroy* | macbroy* | lxbroy* | lxcisa*)
    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