mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-10 21:24:12 +01:00
20 lines
501 B
Plaintext
20 lines
501 B
Plaintext
|
#!/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
|