posaune
[kivitendo-erp.git] / build / kivitendo.co
1 #!/bin/bash
2 set -e
3
4 # parameter: $1: git tag to build
5
6 if [ -d kivitendo-erp ]
7 then
8         pushd kivitendo-erp >/dev/null
9         git fetch
10 else
11         git clone https://github.com/wagner-tech/kivitendo-erp
12         pushd kivitendo-erp >/dev/null
13 fi
14         git checkout $1
15 popd >/dev/null