From 5255f7bcdbc267620157884f975ad29394047f6f Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Fri, 24 Oct 2014 14:37:18 -0600 Subject: misc: Exit update script on error --- update_external_sources.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update_external_sources.sh b/update_external_sources.sh index 90279acd..9beb7b9b 100755 --- a/update_external_sources.sh +++ b/update_external_sources.sh @@ -35,6 +35,7 @@ function create_BIL () { cd $BASEDIR/BIL if [ -z "$KHRONOS_ACCOUNT_NAME" ]; then echo "Must define KHRONOS_ACCOUNT_NAME to access BIL component" + exit 1 else svn checkout --username "$KHRONOS_ACCOUNT_NAME" https://cvs.khronos.org/svn/repos/oglc/trunk/nextgen/proposals/BIL . fi -- cgit v1.2.3