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
|
||||
switch PYTHONPATH
|
||||
case "$PREFIX_PYTHONPATH*"
|
||||
case "*"
|
||||
echo "Appending PYTHONPATH"
|
||||
set -gx PYTHONPATH $PREFIX_PYTHONPATH:$PYTHONPATH
|
||||
end
|
||||
|
@ -32,7 +33,9 @@ if not contains $PREFIX_MANPATH $MANPATH
|
|||
set -gx MANPATH $PREFIX_MANPATH $MANPATH
|
||||
end
|
||||
end
|
||||
|
||||
set -gx ANSIBLE_LIBRARY $ANSIBLE_HOME/library
|
||||
|
||||
if set -q argv
|
||||
switch $argv
|
||||
case '-q' '--quiet'
|
||||
|
|
Loading…
Reference in a new issue