mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-25 00:44:42 +00:00
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:
@@ -128,7 +128,7 @@ find . -name "*~" -exec rm {} \;
|
|||||||
find . -name "__py*__" -exec rm -rf {} \;
|
find . -name "__py*__" -exec rm -rf {} \;
|
||||||
|
|
||||||
|
|
||||||
if [ "$offline" != "" ]; then
|
if [ "$offline" != "1" ]; 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"
|
||||||
|
|||||||
Reference in New Issue
Block a user