build.sh: Changes from review.

http://fisheye.digi.com:8060/cru/CR-DEL-28#CFR-517

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Alex Gonzalez 2013-05-22 17:40:58 +02:00
parent 7bb61a45b9
commit db55ff5a32
1 changed files with 3 additions and 1 deletions

View File

@ -66,10 +66,12 @@ copy_images() {
[ -z "${DY_BUILD_VARIANTS}" ] && error "DY_BUILD_VARIANTS not specified"
[ -z "${DY_PLATFORMS}" ] && error "DY_PLATFORMS not specified"
[ -z "${DY_REVISION}" ] && error "DY_REVISION not specified"
[ -z "${DY_TARGET}" ] && DY_TARGET="del-image-minimal"
[ -z "${DY_USE_MIRROR}" ] && error "DY_USE_MIRROR not specified"
[ -z "${WORKSPACE}" ] && error "WORKSPACE not specified"
# Set default build target if Jenkins does not set it
[ -z "${DY_TARGET}" ] && DY_TARGET="del-image-minimal"
# Per-platform variants
while read _pl _var; do
[ "${DY_BUILD_VARIANTS}" = "false" ] && _var="DONTBUILDVARIANTS"