1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

More elegant output using here-document syntax

POSIX section 2.7.4 defines here-documents.
This commit is contained in:
Marco Ippolito 2015-01-18 20:42:15 +01:00 committed by Toshio Kuratomi
parent 7eb278e797
commit bc0f0f838e

View file

@ -59,22 +59,18 @@ else
fi
cd "$current_dir"
#
# Print out values unless -q is set
#
if [ "$verbosity" != silent ] ; then
echo ""
echo "Setting up Ansible to run out of checkout..."
echo ""
echo "PATH=$PATH"
echo "PYTHONPATH=$PYTHONPATH"
echo "MANPATH=$MANPATH"
echo ""
echo "Remember, you may wish to specify your host file with -i"
echo ""
echo "Done!"
echo ""
cat <<- EOF
Setting up Ansible to run out of checkout...
PATH=$PATH
PYTHONPATH=$PYTHONPATH
MANPATH=$MANPATH
Remember, you may wish to specify your host file with -i
Done!
EOF
fi