summarylogtreecommitdiffstats
path: root/root.sh
blob: 203b6853d1c4e7455d951098207a85661977a173 (plain)
1
2
3
4
5
6
7
8
9
if [ $PYTHONPATH ]; then
    if [[ ":$PYTHONPATH:" == *":/usr/lib/root:"* ]]; then
        return 0;
    else
        export PYTHONPATH=$PYTHONPATH:/usr/lib/root;
    fi
else
    export PYTHONPATH=/usr/lib/root;
fi