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 f17f83d6bd
This commit is contained in:
Thomas Woerner
2024-05-27 15:39:35 +02:00
parent 8779384614
commit 411f5f3467

View File

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