diff --git a/openbis_all/source/bash/svn-update.sh b/openbis_all/source/bash/svn-update.sh index c1f8a9b9da50197dcba9979478dea5eb9595198f..6546ada28798da98776917968a7fbf50e1d8e4e6 100755 --- a/openbis_all/source/bash/svn-update.sh +++ b/openbis_all/source/bash/svn-update.sh @@ -2,20 +2,10 @@ # Author: Tomasz Pylak # Updates all scripts available in the current directory to the version found in SVN. -SVN=http://svncisd.ethz.ch/repos/cisd/openbis_all/trunk/source/bash +SVN=svncisd.ethz.ch/repos/cisd/openbis_all/trunk/source/bash TMP=svn-update-tmp mkdir $TMP -echo Updating the scripts from $SVN -for f in *.sh; do - if [ "$f" != "$0" ]; then - echo Synchronizing $f... - mv $f $TMP - wget $SVN/$f - if [ $? -ne 0 ]; then - mv $TMP/$f . - fi -fi -done +wget -r -l1 -P$TMP -A.sh http://$SVN/ +mv $TMP/$SVN/* . chmod 700 *.sh rm -fr $TMP -echo SVN update done.