moving to git
[infrastructure.git] / scripts / auto-update.sh
1 #!/bin/bash
2 # performs svn update in this command's directory
3
4 DIRNAME=$(dirname $0)
5 DIRNAME=$(cd $DIRNAME; pwd -P)
6
7 cd $DIRNAME
8 [ -d .svn ] && (date ; svn update ) &> .auto-update.log
9 [ -d .git ] && (date ; git pull ) &> .auto-update.log