Admin/mirror-dist
author wenzelm
Wed, 13 Jul 2005 16:07:35 +0200
changeset 16813 67140ae50e77
parent 13567 7f5bf04095bd
permissions -rwxr-xr-x
removed ad-hoc atp_hook, cal_atp; removed depth_of; tuned;

#!/usr/bin/env bash
#
# $Id$
#
# Mirrors the Isabelle distribution pages and downloads. 
#
# It does *not* mirror the home page (those directly on 
# http://isabelle.in.tum.de). There is a separate utility 
# (mirror-main) for that.
#
# Usage: mirror-dist
#


HOST=$(hostname)

case ${HOST} in
  sunbroy*)
    #test
    DEST=/tmp/isabelle-dist
    mkdir -p $DEST
    ;;
  *.cl.cam.ac.uk)
    DEST=/anfs/www/html/Research/HVG/Isabelle/dist
    ;;
  *)
    echo "Unknown destination directory for ${HOST}"
    exit 2
    ;;
esac

exec $(dirname $0)/rsync-isabelle -d $DEST