Commit bc0f0f83 by Marco Ippolito Committed by Toshio Kuratomi

More elegant output using here-document syntax

POSIX section 2.7.4 defines here-documents.
parent 7eb278e7
...@@ -59,22 +59,18 @@ else ...@@ -59,22 +59,18 @@ else
fi fi
cd "$current_dir" cd "$current_dir"
#
# Print out values unless -q is set
#
if [ "$verbosity" != silent ] ; then if [ "$verbosity" != silent ] ; then
echo "" cat <<- EOF
echo "Setting up Ansible to run out of checkout..."
echo "" Setting up Ansible to run out of checkout...
echo "PATH=$PATH"
echo "PYTHONPATH=$PYTHONPATH" PATH=$PATH
echo "MANPATH=$MANPATH" PYTHONPATH=$PYTHONPATH
echo "" MANPATH=$MANPATH
echo "Remember, you may wish to specify your host file with -i" Remember, you may wish to specify your host file with -i
echo ""
echo "Done!" Done!
echo ""
EOF
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment