Admin/mirror-dist
author berghofe
Mon, 19 Nov 2001 17:40:45 +0100
changeset 12238 09966ccbc84c
parent 10531 a9e7786db49e
child 12721 226fc0e2e7e3
permissions -rwxr-xr-x
Improved error message.

#!/bin/bash
#
# $Id$
#

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