ENHANCEMENT Added update script for github (triggered by cronjob)

git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@108783 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-08-02 19:59:06 +00:00
parent aab89e65f8
commit 5c775287f8
1 changed files with 9 additions and 0 deletions

9
tools/update.sh Executable file
View File

@ -0,0 +1,9 @@
url='git@github.com:chillu/silverstripe-doc-restructuring.git'
base=`dirname $0`
if [ ! -d "$base/../src/github" ]; then
mkdir $base/../src/
git clone $url $base/../src/github
fi
cd $base/../src/github/
git pull origin