Skip to content
Snippets Groups Projects
Commit 84ccf3c1 authored by felmer's avatar felmer
Browse files

SP-656, SWE-22: svn-update.sh modified to get also scripts in sub-folders

SVN: 31107
parent 1bceffc4
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
# Author: Tomasz Pylak # Author: Tomasz Pylak
# Updates all scripts available in the current directory to the version found in SVN. # Updates all scripts available in the current directory and its subdirectories to the version found in SVN.
SVN=svncisd.ethz.ch/repos/cisd/openbis_all/trunk/source/bash SVN=svncisd.ethz.ch/repos/cisd/openbis_all/trunk/source/bash
cd ~openbis/bin cd ~openbis/bin
wget -nv -r -l1 -A.{sh,txt} http://$SVN/ wget -nv -r -l2 -A.{sh,txt} http://$SVN/
mv $SVN/* . mv $SVN/* .
chmod 700 *.sh chmod 700 *.sh
RM=`echo $SVN | cut -d / -f1` RM=`echo $SVN | cut -d / -f1`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment