File: rsync-polyorb-cvs

package info (click to toggle)
polyorb 2.11~20140418-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 30,012 kB
  • ctags: 465
  • sloc: ada: 273,015; sh: 4,507; makefile: 4,265; python: 1,332; cpp: 1,213; java: 507; ansic: 274; xml: 30; perl: 23; exp: 6
file content (31 lines) | stat: -rwxr-xr-x 747 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#! /bin/sh

# $Id: rsync-polyorb-cvs 37363 2006-02-27 14:32:19Z quinot $
# Copy the read-only CVS repository for PolyORB from the master
# site to libre.act-europe.fr (this is a mirror of the real Perforce
# depot, for users' convenience).

umask 022
case "`id -u -n`" in
  gnatmail)
    ;;
  *)
    echo "This script must be run by gnatmail."
    exit 1
    ;;
esac

DIR=/anoncvs/polyorb/

rsync "$@" --delete \
  --exclude "#*" \
  --exclude "/WWW" \
  --exclude "/design" \
  --exclude "/doc/memoires" \
  --exclude "/doc/internal" \
  --exclude "/docs/memoires" \
  --exclude "/docs/internal" \
  --exclude "/utils" \
  -a www.polyorb.eu.org::polyorb-cvs/ $DIR &&
  find $DIR -type d | xargs chgrp cvs &&
  find $DIR -type d | xargs chmod g+w