/[scripts]/trunk/update-checkouts.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

Diff of /trunk/update-checkouts.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 54 by dpavlin, Sun Sep 30 20:47:08 2007 UTC revision 98 by dpavlin, Mon Nov 3 19:23:41 2008 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2    
3    test -f log && mv log log.old
4    
5  (  (
6    
7  ls -d */CVS | sed 's#/CVS##' | while read rep ; do  ls -d */CVS | sed 's#/CVS##' | while read rep ; do
# Line 17  done Line 19  done
19  ls -d */.git | sed 's#/.git##' | while read rep ; do  ls -d */.git | sed 's#/.git##' | while read rep ; do
20          echo "update $rep [git]"          echo "update $rep [git]"
21          cd $rep && git pull || ./update.sh || echo "FATAL ERROR!"          cd $rep && git pull || ./update.sh || echo "FATAL ERROR!"
22            ln -sf `pwd`/.git /var/cache/git/$rep.git || echo "ERROR: can't update symlink to gitweb"
23          cd -          cd -
24  done  done
25    

Legend:
Removed from v.54  
changed lines
  Added in v.98

  ViewVC Help
Powered by ViewVC 1.1.26