# 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)
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 $*