From 113b586c34f256504fa9ffa829b779f912e210db Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 19 May 2016 18:54:17 +0200 Subject: fix script / remove obsolete scripts --- bootstrap-bluegreen | 10 +++++++++- bootstrap-demo | 38 -------------------------------------- bootstrap-test | 36 ------------------------------------ 3 files changed, 9 insertions(+), 75 deletions(-) delete mode 100755 bootstrap-demo delete mode 100755 bootstrap-test diff --git a/bootstrap-bluegreen b/bootstrap-bluegreen index 5f15aaf..415d733 100755 --- a/bootstrap-bluegreen +++ b/bootstrap-bluegreen @@ -19,6 +19,7 @@ set -eu usage() { + ech "Usage:" echo "$0: DEPLOYMENT_BASENAME" } @@ -29,6 +30,13 @@ fi DEPLOYMENT_BASENAME=$1 +BRANCH=master +case $DEPLOYMENT_BASENAME in + demo) + BRANCH=stable + ;; +esac + cd $HOME if ! test -d $HOME/gnunet; then @@ -46,7 +54,7 @@ for component in bank merchant gnurl landing exchange merchant-frontends deploym done for component in bank merchant landing exchange merchant-frontends; do - git -C $HOME/$component checkout stable + git -C $HOME/$component checkout $BRANCH done cat >$HOME/activate <$base/activate <$base/activate <