4 # parameter: $1: git tag to build
 
   5 # options: -g <alternative repository>
 
   7 #repos="https://github.com/wagner-tech"
 
   8 #if getopts "g:" opt; then
 
  13 #if [ -e kivitendo-erp ]
 
  15 #       pushd kivitendo-erp >/dev/null
 
  16         #branch=$(git rev-parse --abbrev-ref HEAD)
 
  17         #git pull origin $branch
 
  19 #       git clone $repos/kivitendo-erp
 
  20 #       pushd kivitendo-erp >/dev/null
 
  25 # alternativer Versuch: Es wird das lokale Repository geklont:
 
  28 git clone ${cwd%/build/src}
 
  29 pushd kivitendo-erp >/dev/null