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:
Davlet Panech 2022-10-13 11:29:47 -04:00
parent 61547aeba8
commit 2fcd818740
1 changed files with 1 additions and 1 deletions

View File

@ -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")