From cf10f992f899f56e3e1ce6bbb6189002ffafa04e Mon Sep 17 00:00:00 2001 From: Ivan Krutov Date: Wed, 20 Dec 2023 15:27:23 +0300 Subject: [PATCH] Fixed bool expr for regeneration --- ci/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/build.sh b/ci/build.sh index 255017b..0ec87b0 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -23,7 +23,7 @@ for package in moon moon2 browser-ops license-ops boot; do helm package "$package" --destination "$output_dir" --version "$version" done cd "$output_dir" -if [ -n "$regenerate" ] -a [ "$regenerate" = "true" ]; then +if [ -n "$regenerate" ] && [ "$regenerate" = "true" ]; then regenerateDir="regenerate" mkdir -p "$regenerateDir" pushd "$regenerateDir"