misc: Exit update script on error
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Fri, 24 Oct 2014 20:37:18 +0000 (14:37 -0600)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Fri, 31 Oct 2014 21:29:18 +0000 (15:29 -0600)
update_external_sources.sh

index 90279ac..9beb7b9 100755 (executable)
@@ -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