Skip to content

Commit

Permalink
utils/build-galaxy-release.sh: Fix unary operator expected
Browse files Browse the repository at this point in the history
This fixes a bad tests if offline is not set:
utils/build-galaxy-release.sh: line 130: [: -ne: unary operator expected
  • Loading branch information
t-woerner committed May 14, 2024
1 parent a3517a3 commit f17f83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/build-galaxy-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f17f83d

Please sign in to comment.