Admin/mirror-dist
author wenzelm
Tue, 16 Jan 2001 00:33:40 +0100
changeset 10911 eb5721204b38
parent 10531 a9e7786db49e
child 12721 226fc0e2e7e3
permissions -rwxr-xr-x
proper induction rule for arbitrarily branching datatype;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8224
97e26127fb6b mirror dist page;
wenzelm
parents:
diff changeset
     1
#!/bin/bash
97e26127fb6b mirror dist page;
wenzelm
parents:
diff changeset
     2
#
97e26127fb6b mirror dist page;
wenzelm
parents:
diff changeset
     3
# $Id$
97e26127fb6b mirror dist page;
wenzelm
parents:
diff changeset
     4
#
97e26127fb6b mirror dist page;
wenzelm
parents:
diff changeset
     5
8322
6ba8356baa34 proper setup;
wenzelm
parents: 8224
diff changeset
     6
HOST=$(hostname)
6ba8356baa34 proper setup;
wenzelm
parents: 8224
diff changeset
     7
10531
wenzelm
parents: 8398
diff changeset
     8
case ${HOST} in
8397
wenzelm
parents: 8396
diff changeset
     9
  sunbroy*)
8323
64b67ed25a59 test setup;
wenzelm
parents: 8322
diff changeset
    10
    #test
64b67ed25a59 test setup;
wenzelm
parents: 8322
diff changeset
    11
    DEST=/tmp/isabelle-dist
64b67ed25a59 test setup;
wenzelm
parents: 8322
diff changeset
    12
    mkdir -p $DEST
64b67ed25a59 test setup;
wenzelm
parents: 8322
diff changeset
    13
    ;;
8322
6ba8356baa34 proper setup;
wenzelm
parents: 8224
diff changeset
    14
  *.cl.cam.ac.uk)
6ba8356baa34 proper setup;
wenzelm
parents: 8224
diff changeset
    15
    DEST=/anfs/www/html/Research/HVG/Isabelle/dist
6ba8356baa34 proper setup;
wenzelm
parents: 8224
diff changeset
    16
    ;;
8224
97e26127fb6b mirror dist page;
wenzelm
parents:
diff changeset
    17
  *)
8322
6ba8356baa34 proper setup;
wenzelm
parents: 8224
diff changeset
    18
    echo "Unknown destination directory for ${HOST}"
8224
97e26127fb6b mirror dist page;
wenzelm
parents:
diff changeset
    19
    exit 2
97e26127fb6b mirror dist page;
wenzelm
parents:
diff changeset
    20
    ;;
97e26127fb6b mirror dist page;
wenzelm
parents:
diff changeset
    21
esac
97e26127fb6b mirror dist page;
wenzelm
parents:
diff changeset
    22
8398
f1c80ed70f48 renamed to rsync-isabelle;
wenzelm
parents: 8397
diff changeset
    23
exec $(dirname $0)/rsync-isabelle -d $DEST