Admin/Release/mirror-website
author wenzelm
Thu, 19 Dec 2019 16:21:52 +0100
changeset 71321 edf3210a61a2
parent 68750 7087748996af
child 74916 79ceca45fcbc
permissions -rwxr-xr-x
added option -r: support more robust consolidation of local clones with varying names;

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