diff options
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-x | ci/deploy.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh index f35a6d19..3862c137 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e ############################################################################## # Copyright (c) 2017 Enea Software AB and others. # All rights reserved. This program and the accompanying materials @@ -6,11 +6,12 @@ # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## -set -e - +CI_DEBUG=${CI_DEBUG:-0}; [[ "${CI_DEBUG}" =~ (false|0) ]] || set -x SCRIPT_DIR=$(readlink -f "$(dirname "${BASH_SOURCE[0]}")") ARMBAND_BASE=$(readlink -e "${SCRIPT_DIR}/..") + export ARMBAND_BASE +export CI_DEBUG cd "${WORKSPACE:-${ARMBAND_BASE}}" make patches-import |