mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fixed incorrectly set PYTHONPATH
This commit is contained in:
parent
dbfcd78790
commit
d0fe447fd1
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,7 @@ if not set -q PYTHONPATH
|
||||||
else
|
else
|
||||||
switch PYTHONPATH
|
switch PYTHONPATH
|
||||||
case "$PREFIX_PYTHONPATH*"
|
case "$PREFIX_PYTHONPATH*"
|
||||||
|
case "*"
|
||||||
echo "Appending PYTHONPATH"
|
echo "Appending PYTHONPATH"
|
||||||
set -gx PYTHONPATH $PREFIX_PYTHONPATH:$PYTHONPATH
|
set -gx PYTHONPATH $PREFIX_PYTHONPATH:$PYTHONPATH
|
||||||
end
|
end
|
||||||
|
@ -32,7 +33,9 @@ if not contains $PREFIX_MANPATH $MANPATH
|
||||||
set -gx MANPATH $PREFIX_MANPATH $MANPATH
|
set -gx MANPATH $PREFIX_MANPATH $MANPATH
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
set -gx ANSIBLE_LIBRARY $ANSIBLE_HOME/library
|
set -gx ANSIBLE_LIBRARY $ANSIBLE_HOME/library
|
||||||
|
|
||||||
if set -q argv
|
if set -q argv
|
||||||
switch $argv
|
switch $argv
|
||||||
case '-q' '--quiet'
|
case '-q' '--quiet'
|
||||||
|
|
Loading…
Reference in a new issue