Admin/mirror-website
changeset 17671 e9e341bc7d42
child 18173 8ae6a9e7ff0e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Admin/mirror-website	Tue Sep 27 15:30:37 2005 +0200
     1.3 @@ -0,0 +1,26 @@
     1.4 +#!/usr/bin/env bash
     1.5 +#
     1.6 +# $Id$
     1.7 +#
     1.8 +# mirrors the Isabelle website
     1.9 +
    1.10 +HOST=$(hostname)
    1.11 +
    1.12 +case ${HOST} in
    1.13 +  sunbroy2)
    1.14 +    DEST=/home/html/isabelle/html-data
    1.15 +    ;;
    1.16 +  atbroy1)
    1.17 +    DEST=/home/html/isabelle/html-data
    1.18 +    ;;
    1.19 +  *.cl.cam.ac.uk)
    1.20 +    USER=paulson
    1.21 +    DEST=/anfs/www/html/Research/HVG/Isabelle
    1.22 +    ;;
    1.23 +  *)
    1.24 +    echo "Unknown destination directory for ${HOST}"
    1.25 +    exit 2
    1.26 +    ;;
    1.27 +esac
    1.28 +
    1.29 +exec $(dirname $0)/isasync -dw $DEST