* Add 'set -e' to all scm test setup scripts, to catch errors as early as possible

* Fix git setup
This commit is contained in:
Rob Vermaas
2012-06-25 13:33:36 +02:00
parent 478d3863bb
commit 9a7811aa92
4 changed files with 12 additions and 4 deletions

View File

@ -1,6 +1,7 @@
#! /bin/sh
set -e
repo="$1"
repo=svn-repo
STATE_FILE=$(pwd)/.svn-state
if test -e $STATE_FILE; then
state=$(cat $STATE_FILE)
@ -12,7 +13,7 @@ fi
case $state in
(0) echo "::Create repo. -- continue -- updated::"
svnadmin create svn-repo
svn co $repo svn-checkout
svn co file://$PWD/$repo svn-checkout
touch svn-checkout/svn-file
svn add svn-checkout/svn-file
svn commit -m "add svn file" svn-checkout/svn-file