utils/build-galaxy-release.sh: Fix unary operator expected

This fixes a bad tests if offline is not set:
utils/build-galaxy-release.sh: line 130: [: -ne: unary operator expected
This commit is contained in:
Thomas Woerner
2024-05-10 11:26:06 +02:00
parent a3517a3a23
commit f17f83d6bd

View File

@@ -128,7 +128,7 @@ find . -name "*~" -exec rm {} \;
find . -name "__py*__" -exec rm -rf {} \;
if [ $offline != 1 ]; then
if [ "$offline" != "" ]; then
echo "Creating CHANGELOG.rst..."
"$(dirname "$0")/changelog" --galaxy > CHANGELOG.rst
echo -e "\033[ACreating CHANGELOG.rst... \033[32;1mDONE\033[0m"