1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

first stab at scripts to set up the rsync repository for auto-builds

This commit is contained in:
Hans-Christoph Steiner
2008-04-05 22:58:55 +00:00
parent f6e012eb32
commit a0918ef02d
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,19 @@
#!/bin/sh
# update from the Berlios SVN repository
# the source dir where this script is
SCRIPT_DIR=`echo $0 | sed 's|\(.*\)/.*$|\1|'`
. $SCRIPT_DIR/auto-build-common
# the name of this script
SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
LOGFILE=/home/arduino/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt
touch $LOGFILE
for dir in /home/arduino/rsync/*; do
dirname=`echo $dir | sed 's|.*/\(.*\)|\1|'`
echo $dirname ---------------------------- >> ${LOGFILE}
cd $dir
svn up >> ${LOGFILE}
done