Fixed incorrectly set PYTHONPATH

pull/3851/head
Jharrod LaFon 11 years ago
parent dbfcd78790
commit d0fe447fd1

@ -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…
Cancel
Save