Ajout gestion achitecture cible

This commit is contained in:
2015-10-22 14:02:51 +02:00
parent 1dec78875a
commit 8afd107858
2 changed files with 12 additions and 3 deletions

View File

@ -15,7 +15,7 @@ BUILD_TAG=${4}
function build_project()
{
info "Building project '${PROJECT_NAME}'..."
info "Building project '${PROJECT_NAME}' for ${TARGET_ARCH} architecture..."
set_opt project_name "${PROJECT_NAME}"
set_opt build_dir "${BUILD_DIR}"
@ -34,7 +34,7 @@ function build_project()
cd "${workspace}"
dpkg-buildpackage -b 2> >(error) 1> >(info)
dpkg-buildpackage -b -a "${TARGET_ARCH}" 2> >(error) 1> >(info)
if [ $? != 0 ]; then
fatal "The build process has not completed successfuly !"