Skip to content
Snippets Groups Projects
Commit f17f83d6 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

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
parent a3517a3a
Branches
Tags
No related merge requests found
...@@ -128,7 +128,7 @@ find . -name "*~" -exec rm {} \; ...@@ -128,7 +128,7 @@ find . -name "*~" -exec rm {} \;
find . -name "__py*__" -exec rm -rf {} \; find . -name "__py*__" -exec rm -rf {} \;
if [ $offline != 1 ]; then if [ "$offline" != "" ]; then
echo "Creating CHANGELOG.rst..." echo "Creating CHANGELOG.rst..."
"$(dirname "$0")/changelog" --galaxy > CHANGELOG.rst "$(dirname "$0")/changelog" --galaxy > CHANGELOG.rst
echo -e "\033[ACreating CHANGELOG.rst... \033[32;1mDONE\033[0m" echo -e "\033[ACreating CHANGELOG.rst... \033[32;1mDONE\033[0m"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment