/[webpac]/update_checkout.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /update_checkout.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 345 - (show annotations)
Sun Jun 13 12:56:43 2004 UTC (19 years, 9 months ago) by dpavlin
File MIME type: application/x-sh
File size: 338 byte(s)
script to update all checkouts

1 #!/bin/sh
2
3 basedir=/data/webpac-
4
5 find branches/ -type d -maxdepth 1 -mindepth 1 | grep -v .svn | cut -d\/ -f2 | while read name ; do
6 dir="$basedir$name"
7 if [ -e "$dir" ] ; then
8 if [ -L $dir ] ; then
9 dir=`readlink $dir`
10 fi
11 echo "updating $dir"
12 svn update $dir
13 else
14 echo "checkout $dir doesn't exist, skipping..."
15 fi
16 done

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26