source: soft/build_system/build_system/upload/robot/trunk/cdcom-push-kenobi @ 1

Last change on this file since 1 was 1, checked in by fasma, 13 years ago

Initial Import from Mandriva's soft revision 224062 and package revision 45733

File size: 557 bytes
Line 
1#!/bin/sh
2
3RSYNCOPT=" --partial -az -e ssh --delete --timeout=120 $@"
4
5#LOCK=/mnt/BIG/distrib/cooker/cooker/Mandrake/.update_in_progress
6#LOCK=/mnt/BIG/distrib/.update_in_progress
7# check lock created by the admin script to be sure
8# to have a clean tree.
9
10#  ping -c 1 -i 30 kenobi > /dev/null
11
12#  if [ $? != 0 ]; then
13#      if [ -n "$*" ]; then
14#       echo "kenobi is down"
15#      fi
16#      Exit 0
17#  fi
18
19if [ -n "$*" ]; then
20    echo "Mirroring cdcom to kenobi"
21fi
22rsync $RSYNCOPT /mnt/BIG/build/cooker/pieces/cdcom/8.2/ kenobi:/mnt/BIG/distrib/cdcom/8.2/
Note: See TracBrowser for help on using the repository browser.