Admin/Release/mirror-website
author wenzelm
Fri, 16 Sep 2022 20:54:56 +0200
changeset 76177 b847a9983784
parent 74916 79ceca45fcbc
permissions -rwxr-xr-x
tuned signature;

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