2 # a simple script for updating a set of folders on a usb stick from subversion or git.
4 # just runs with no parameters and expects to get all archives from wherever the files originally
12 pushd "$dir" &>/dev/null
18 # only update if we see a repository living there.
19 if [ -d ".svn" ]; then
21 elif [ -d ".git" ]; then
23 elif [ -d "CVS" ]; then