From 411f5f3467b131e0c49fd402a44dc6cfa65c52c0 Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Mon, 27 May 2024 15:39:35 +0200 Subject: [PATCH] utils/build-galaxy-release.sh: Fix unary operator expected (v2) This fixes a bad tests if offline is not set: utils/build-galaxy-release.sh: line 130: [: -ne: unary operator expected Fixes f17f83d6bddd839efa2691ddf88d418e0921d4f0 --- utils/build-galaxy-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/build-galaxy-release.sh b/utils/build-galaxy-release.sh index 2bf46af504..2568f7de0d 100755 --- a/utils/build-galaxy-release.sh +++ b/utils/build-galaxy-release.sh @@ -128,7 +128,7 @@ find . -name "*~" -exec rm {} \; find . -name "__py*__" -exec rm -rf {} \; -if [ "$offline" != "" ]; then +if [ "$offline" != "1" ]; then echo "Creating CHANGELOG.rst..." "$(dirname "$0")/changelog" --galaxy > CHANGELOG.rst echo -e "\033[ACreating CHANGELOG.rst... \033[32;1mDONE\033[0m"