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:
parent
7eb278e797
commit
bc0f0f838e
1 changed files with 13 additions and 17 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue