Admin/mirror-website
author blanchet
Tue Dec 07 11:56:53 2010 +0100 (2010-12-07)
changeset 41052 3db267a01c1d
parent 36859 51af1657263b
permissions -rwxr-xr-x
remove the "fin_fun" optimization in Nitpick -- it was always a hack and didn't help much
haftmann@17671
     1
#!/usr/bin/env bash
haftmann@17671
     2
#
haftmann@17671
     3
# mirrors the Isabelle website
haftmann@17671
     4
haftmann@17671
     5
HOST=$(hostname)
haftmann@17671
     6
haftmann@17671
     7
case ${HOST} in
wenzelm@27594
     8
  sunbroy* | atbroy* | macbroy*)
haftmann@17671
     9
    DEST=/home/html/isabelle/html-data
haftmann@17671
    10
    ;;
haftmann@17671
    11
  *.cl.cam.ac.uk)
haftmann@17671
    12
    USER=paulson
paulson@31086
    13
    DEST=/anfs/www/html/research/hvg/Isabelle
haftmann@17671
    14
    ;;
haftmann@17671
    15
  *)
haftmann@17671
    16
    echo "Unknown destination directory for ${HOST}"
haftmann@17671
    17
    exit 2
haftmann@17671
    18
    ;;
haftmann@17671
    19
esac
haftmann@17671
    20
haftmann@25463
    21
exec $(dirname $0)/isasync $DEST