Admin/mirror-website
author haftmann
Mon Jul 11 18:44:58 2011 +0200 (2011-07-11)
changeset 43764 366d5726de09
parent 36859 51af1657263b
permissions -rwxr-xr-x
explicit code equation for equality
     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