Admin/Release/mirror-website
author wenzelm
Sun, 12 Dec 2021 20:37:38 +0100
changeset 74916 79ceca45fcbc
parent 68750 7087748996af
permissions -rwxr-xr-x
proper path;

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

HOST=$(hostname)

case ${HOST} in
  sunbroy* | atbroy* | macbroy* | lxbroy* | lxcisa*)
    DEST=/p/home/isabelle/html-data/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