Fix invalid boolean test: $PKG_REUSE
Job parameter $PKG_REUSE is boolean and takes on string values "true" or "false". A shell script tested this variable for non-emptyness by mistake. Signed-off-by: Davlet Panech <davlet.panech@windriver.com> Change-Id: If245bb93bc7458ce59d1508bb59cb0874d1655ee
This commit is contained in:
parent
61547aeba8
commit
2fcd818740
|
@ -51,7 +51,7 @@ while [[ $count -lt $BUILD_PACKAGES_ITERATIONS ]] ; do
|
||||||
else
|
else
|
||||||
extra_args+=("--all")
|
extra_args+=("--all")
|
||||||
|
|
||||||
if [[ $PKG_REUSE ]]; then
|
if $PKG_REUSE ; then
|
||||||
extra_args+=("--clean")
|
extra_args+=("--clean")
|
||||||
extra_args+=("--reuse")
|
extra_args+=("--reuse")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue