git://git.onelab.eu
/
infrastructure.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
92bf96a5c87957db2ae7daee9b1335bd9931ba47
[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