export PATH
fi
-if [ -d $HOME/lib ] ; then
- PERL5LIB=$HOME/lib
- export PERL5LIB
+if [ -d "$HOME/lib" ] ; then
+ if [ -d "$HOME/lib/perl" ] ; then
+ if [ -z "${PERL5LIB}" ] ; then
+ export PERL5LIB="$HOME/lib/perl"
+ else
+ export PERL5LIB="$HOME/lib/perl:${PERL5LIB}"
+ fi
+ fi
+ if [ -d "$HOME/lib/python" ] ; then
+ if [ -z "${PYTHONPATH}" ] ; then
+ export PYTHONPATH="$HOME/lib/python"
+ else
+ export PYTHONPATH="$HOME/lib/python:${PYTHONPATH}"
+ fi
+ fi
fi
#if [[ ${EUID} == 0 ]] ; then