mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Reserve capitalised identifiers for system variables
Conflicts: hacking/env-setup
This commit is contained in:
parent
53fadd371b
commit
9bc1e1a4a0
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
PYTHONPATH=${PYTHONPATH-""}
|
PYTHONPATH=${PYTHONPATH-""}
|
||||||
PATH=${PATH-""}
|
PATH=${PATH-""}
|
||||||
MANPATH=${MANPATH-""}
|
MANPATH=${MANPATH-""}
|
||||||
VERBOSITY=${1-""}
|
verbosity=${1-""}
|
||||||
|
|
||||||
# When run using source as directed, $0 gets set to bash, so we must use $BASH_SOURCE
|
# When run using source as directed, $0 gets set to bash, so we must use $BASH_SOURCE
|
||||||
if [ -n "$BASH_SOURCE" ] ; then
|
if [ -n "$BASH_SOURCE" ] ; then
|
||||||
|
@ -48,7 +48,7 @@ else
|
||||||
current_dir="$ANSIBLE_HOME"
|
current_dir="$ANSIBLE_HOME"
|
||||||
fi
|
fi
|
||||||
cd "$ANSIBLE_HOME"
|
cd "$ANSIBLE_HOME"
|
||||||
if [ "$VERBOSITY" = "-q" ] ; then
|
if [ "$verbosity" = "-q" ] ; then
|
||||||
gen_egg_info 2>1 1> /dev/null
|
gen_egg_info 2>1 1> /dev/null
|
||||||
else
|
else
|
||||||
gen_egg_info
|
gen_egg_info
|
||||||
|
@ -59,7 +59,7 @@ cd "$current_dir"
|
||||||
# Print out values unless -q is set
|
# Print out values unless -q is set
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ "$VERBOSITY" != "-q" ] ; then
|
if [ "$verbosity" != "-q" ] ; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "Setting up Ansible to run out of checkout..."
|
echo "Setting up Ansible to run out of checkout..."
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue