X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fbuild.sh;h=6bbe5eeb527ba97ca21584489cf95140a0d60ffc;hb=refs%2Fchanges%2F01%2F39801%2F1;hp=3e372f0ff0dbebf8f3e48e48a086add34a7042f0;hpb=56b0a136525f957644e09f10d1f8c30fb3b54104;p=armband.git diff --git a/ci/build.sh b/ci/build.sh index 3e372f0f..6bbe5eeb 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -5,13 +5,15 @@ # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 +set -e + SCRIPT_DIR=$(readlink -f $(dirname ${BASH_SOURCE[0]})) -BUILD_BASE=$(readlink -e ${SCRIPT_DIR}/../upstream/fuel/build) +BUILD_BASE=$(readlink -f ${SCRIPT_DIR}/../upstream/fuel/build) export ARMBAND_BASE=$(readlink -e ${SCRIPT_DIR}/..) export OPNFV_GIT_SHA=$(git rev-parse HEAD) export LOCAL_CACHE_ARCH_NAME="armband-cache" # Initialize Armband git submodules & apply patches first -make -C ${ARMBAND_BASE} submodules-clean patches-import +make -C ${ARMBAND_BASE} patches-import cd ${ARMBAND_BASE}/upstream/fuel/ci && ./build.sh $*