Admin/mirror-dist
author wenzelm
Fri Oct 12 12:05:46 2001 +0200 (2001-10-12)
changeset 11724 f727aa96ae2e
parent 10531 a9e7786db49e
child 12721 226fc0e2e7e3
permissions -rwxr-xr-x
declare impE iffD1 iffD2 as elim of Pure;
wenzelm@8224
     1
#!/bin/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