diff --git a/openbis_all/source/bash/svn-update.sh b/openbis_all/source/bash/svn-update.sh
index 6546ada28798da98776917968a7fbf50e1d8e4e6..26f3ca0ae8b2b7ba7d1dec28cf47a5cfd98d020a 100755
--- a/openbis_all/source/bash/svn-update.sh
+++ b/openbis_all/source/bash/svn-update.sh
@@ -3,9 +3,8 @@
 # Updates all scripts available in the current directory to the version found in SVN.
 
 SVN=svncisd.ethz.ch/repos/cisd/openbis_all/trunk/source/bash
-TMP=svn-update-tmp
-mkdir $TMP
-wget -r -l1 -P$TMP -A.sh http://$SVN/
-mv $TMP/$SVN/* .
+wget -r -l1 -A.sh http://$SVN/
+mv $SVN/* .
 chmod 700 *.sh
-rm -fr $TMP
+RM=`echo $SVN | cut -d / -f1`
+rm -rf $RM