/[pdpsoft]/trunk/nl.nikhef.ndpf.tools/cvmfs/cvmfs-rsync-multi.sh
ViewVC logotype

Diff of /trunk/nl.nikhef.ndpf.tools/cvmfs/cvmfs-rsync-multi.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2746 by dennisvd, Wed Nov 12 16:13:07 2014 UTC revision 2747 by dennisvd, Wed Nov 12 16:24:46 2014 UTC
# Line 29  rsyncopts= Line 29  rsyncopts=
29  # These are defaults for cvmfs, but can be  # These are defaults for cvmfs, but can be
30  # overridden for debugging purposes  # overridden for debugging purposes
31  rsyncdest=/cvmfs # the destination once a transaction started  rsyncdest=/cvmfs # the destination once a transaction started
32  rdonlylocation=/var/spool/cvmfs # the compare-dest before transactions start  rdonlylocation= # the compare-dest before transactions start
33    
34  while getopts :r:s:d:S:R:i: OPT; do  while getopts :r:s:d:S:R:i: OPT; do
35      case $OPT in      case $OPT in
# Line 66  elif [ -z "$rsyncsrc" ]; then Line 66  elif [ -z "$rsyncsrc" ]; then
66      die "missing argument -s rsyncsource"      die "missing argument -s rsyncsource"
67  fi  fi
68    
69    # Set the compare-dest location if it was not set with an option.
70    # Can't do this until $repo is set.
71    if [ -z $rdonlylocation ]; then
72        rdonlylocation=/var/spool/cvmfs/$repo/rdonly
73    fi
74    
75    
76  # Since the entire process may take a long time, we need a lockfile to signal  # Since the entire process may take a long time, we need a lockfile to signal
77  # that the process is already at work.  # that the process is already at work.

Legend:
Removed from v.2746  
changed lines
  Added in v.2747

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28