#!/bin/bash if ! test "buildbot-master" = $(whoami); then echo Only run as the 'buildbot-master' user. exit 1 fi cd if test -d ./master; then echo 'master' base directory exists, not touching it and exiting. exit 0 fi if ! test -d $HOME/deployment; then git clone git://git.taler.net/deployment.git fi buildbot create-master master cd master ln -s ../deployment/buildbot/master.cfg