Admin/mirror-website
author wenzelm
Sun, 09 Oct 2011 17:06:19 +0200
changeset 45993 d53036e77ef3
parent 36866 51af1657263b
permissions -rwxr-xr-x
Added tag Isabelle2011-1 for changeset 76fef3e57004
     1 #!/usr/bin/env bash
     2 #
     3 # mirrors the Isabelle website
     4 
     5 HOST=$(hostname)
     6 
     7 case ${HOST} in
     8   sunbroy* | atbroy* | macbroy*)
     9     DEST=/home/html/isabelle/html-data
    10     ;;
    11   *.cl.cam.ac.uk)
    12     USER=paulson
    13     DEST=/anfs/www/html/research/hvg/Isabelle
    14     ;;
    15   *)
    16     echo "Unknown destination directory for ${HOST}"
    17     exit 2
    18     ;;
    19 esac
    20 
    21 exec $(dirname $0)/isasync $DEST