A script that updates all your subversion repositories

I have several subversion repositories that I continually need to update. Here is a convenient script I wrote that automatically updates all of them. 

For bash (also sh,ksh)


#! /bin/bash

# Subversion repositories to be updated
svnlist=( \
"cae" \
"jtk" \
"llm" \
"idh" \
)

svnbase="/Users/Chris/Home/box/"

# Number of subversion repositories.
listnum=${#svnlist[@]}

for ((i=0;i<$listnum;i++))
do
  echo; echo ${svnlist[${i}]}"..."; echo
  cd $svnbase${svnlist[${i}]}
  svn update
done