Admin/mirror-dist
author wenzelm
Sun Mar 10 21:46:27 2002 +0100 (2002-03-10)
changeset 13053 68ffc262c766
parent 12721 226fc0e2e7e3
child 13567 7f5bf04095bd
permissions -rwxr-xr-x
tuned;
wenzelm@12721
     1
#!/usr/bin/env bash
wenzelm@8224
     2
#
wenzelm@8224
     3
# $Id$
wenzelm@8224
     4
#
wenzelm@8224
     5
wenzelm@8322
     6
HOST=$(hostname)
wenzelm@8322
     7
wenzelm@10531
     8
case ${HOST} in
wenzelm@8397
     9
  sunbroy*)
wenzelm@8323
    10
    #test
wenzelm@8323
    11
    DEST=/tmp/isabelle-dist
wenzelm@8323
    12
    mkdir -p $DEST
wenzelm@8323
    13
    ;;
wenzelm@8322
    14
  *.cl.cam.ac.uk)
wenzelm@8322
    15
    DEST=/anfs/www/html/Research/HVG/Isabelle/dist
wenzelm@8322
    16
    ;;
wenzelm@8224
    17
  *)
wenzelm@8322
    18
    echo "Unknown destination directory for ${HOST}"
wenzelm@8224
    19
    exit 2
wenzelm@8224
    20
    ;;
wenzelm@8224
    21
esac
wenzelm@8224
    22
wenzelm@8398
    23
exec $(dirname $0)/rsync-isabelle -d $DEST