Admin/Release/mirror-website
author wenzelm
Mon, 20 May 2024 15:43:51 +0200
changeset 80182 29f2b8ff84f3
parent 74916 79ceca45fcbc
permissions -rwxr-xr-x
proper support for "isabelle update -D DIR": avoid accidental exclusion of select_dirs (amending e5dafe9e120f);

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