Ajout gestion achitecture cible
This commit is contained in:
@ -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 !"
|
||||
|
Reference in New Issue
Block a user