From f96bf35bdeabc74a57d3b4d09e70f86eb7492c5e Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 14 Feb 2008 23:15:34 +0000 Subject: renamed files since they also work with SVN in addition to CVS svn path=/trunk/; revision=9442 --- scripts/auto-build/pure-data-cvs-rsync | 30 ------------------------ scripts/auto-build/pure-data-cvs-rsync-checkout | 31 ------------------------- scripts/auto-build/pure-data-rsync | 30 ++++++++++++++++++++++++ scripts/auto-build/pure-data-rsync-checkout | 31 +++++++++++++++++++++++++ 4 files changed, 61 insertions(+), 61 deletions(-) delete mode 100755 scripts/auto-build/pure-data-cvs-rsync delete mode 100755 scripts/auto-build/pure-data-cvs-rsync-checkout create mode 100755 scripts/auto-build/pure-data-rsync create mode 100755 scripts/auto-build/pure-data-rsync-checkout diff --git a/scripts/auto-build/pure-data-cvs-rsync b/scripts/auto-build/pure-data-cvs-rsync deleted file mode 100755 index b73414ef..00000000 --- a/scripts/auto-build/pure-data-cvs-rsync +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# rsync the CVS source files from SourceForge to make a local copy - -# 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/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt - -VERBOSE_FLAGS=-v -#VERBOSE_FLAGS="-v --progress" - -touch $LOGFILE - -echo "rsync pure-data" >> $LOGFILE 2>&1 -echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1 -(/usr/bin/rsync -ax $VERBOSE_FLAGS --delete rsync://pure-data.cvs.sourceforge.net/cvsroot/p/pu/pure-data/ /home/pd/cvsroot/pure-data/ || /usr/bin/logger -i -p local6.warning -t "$0" "rsync pure-data CVS FAILED") >> $LOGFILE 2>&1 - -echo "rsync pd-gem" >> $LOGFILE 2>&1 -echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1 -(/usr/bin/rsync -ax $VERBOSE_FLAGS --delete rsync://pd-gem.cvs.sourceforge.net/cvsroot/p/pd/pd-gem/ /home/pd/cvsroot/pd-gem || /usr/bin/logger -i -p local6.warning -t "$0" "rsync pd-gem CVS FAILED") >> $LOGFILE 2>&1 - -echo "chown -R pd.pd /home/pd/cvsroot" >> $LOGFILE 2>&1 -echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1 -chown -R pd.pd /home/pd/cvsroot >> $LOGFILE 2>&1 - - diff --git a/scripts/auto-build/pure-data-cvs-rsync-checkout b/scripts/auto-build/pure-data-cvs-rsync-checkout deleted file mode 100755 index 7d15adec..00000000 --- a/scripts/auto-build/pure-data-cvs-rsync-checkout +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# update from the local CVS 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/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt - -update_distro () -{ - distro=$1 - echo "------------------------------------------------------------" >> $LOGFILE 2>&1 - echo "$distro" >> $LOGFILE 2>&1 - echo "------------------------------------------------------------" >> $LOGFILE 2>&1 - /home/pd/rsync/$distro/scripts/update-developer-layout.sh >> $LOGFILE 2>&1 -} - -touch $LOGFILE - -for dir in /home/pd/rsync/*; do - dirname=`echo $dir | sed 's|.*/\(.*\)|\1|'` - test -e $dir/scripts/update-developer-layout.sh && \ - update_distro $dirname -done - -# since the above test can cause this script to exit with an error, force it -# to be happy to prevent getting automated error emails to root -true diff --git a/scripts/auto-build/pure-data-rsync b/scripts/auto-build/pure-data-rsync new file mode 100755 index 00000000..b73414ef --- /dev/null +++ b/scripts/auto-build/pure-data-rsync @@ -0,0 +1,30 @@ +#!/bin/sh +# rsync the CVS source files from SourceForge to make a local copy + +# 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/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt + +VERBOSE_FLAGS=-v +#VERBOSE_FLAGS="-v --progress" + +touch $LOGFILE + +echo "rsync pure-data" >> $LOGFILE 2>&1 +echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1 +(/usr/bin/rsync -ax $VERBOSE_FLAGS --delete rsync://pure-data.cvs.sourceforge.net/cvsroot/p/pu/pure-data/ /home/pd/cvsroot/pure-data/ || /usr/bin/logger -i -p local6.warning -t "$0" "rsync pure-data CVS FAILED") >> $LOGFILE 2>&1 + +echo "rsync pd-gem" >> $LOGFILE 2>&1 +echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1 +(/usr/bin/rsync -ax $VERBOSE_FLAGS --delete rsync://pd-gem.cvs.sourceforge.net/cvsroot/p/pd/pd-gem/ /home/pd/cvsroot/pd-gem || /usr/bin/logger -i -p local6.warning -t "$0" "rsync pd-gem CVS FAILED") >> $LOGFILE 2>&1 + +echo "chown -R pd.pd /home/pd/cvsroot" >> $LOGFILE 2>&1 +echo "----------------------------------------------------------------------" >> $LOGFILE 2>&1 +chown -R pd.pd /home/pd/cvsroot >> $LOGFILE 2>&1 + + diff --git a/scripts/auto-build/pure-data-rsync-checkout b/scripts/auto-build/pure-data-rsync-checkout new file mode 100755 index 00000000..7d15adec --- /dev/null +++ b/scripts/auto-build/pure-data-rsync-checkout @@ -0,0 +1,31 @@ +#!/bin/sh +# update from the local CVS 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/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt + +update_distro () +{ + distro=$1 + echo "------------------------------------------------------------" >> $LOGFILE 2>&1 + echo "$distro" >> $LOGFILE 2>&1 + echo "------------------------------------------------------------" >> $LOGFILE 2>&1 + /home/pd/rsync/$distro/scripts/update-developer-layout.sh >> $LOGFILE 2>&1 +} + +touch $LOGFILE + +for dir in /home/pd/rsync/*; do + dirname=`echo $dir | sed 's|.*/\(.*\)|\1|'` + test -e $dir/scripts/update-developer-layout.sh && \ + update_distro $dirname +done + +# since the above test can cause this script to exit with an error, force it +# to be happy to prevent getting automated error emails to root +true -- cgit v1.2.1