perl: fix make clean
[gitweb.git] / t / test-lib.sh
index 66f62b9c6f2a31965c856fc9b7d056a86abbcfbc..fba0c51d97ac0d3851589de3308bda1de0a1869d 100755 (executable)
@@ -63,6 +63,8 @@ do
                exit 0 ;;
        -v|--v|--ve|--ver|--verb|--verbo|--verbos|--verbose)
                verbose=t; shift ;;
+       --no-python)
+               no_python=t; shift ;;
        *)
                break ;;
        esac
@@ -204,6 +206,8 @@ PYTHON=`sed -e '1{
        PYTHONPATH=$(pwd)/../compat
        export PYTHONPATH
 }
+PERL5LIB=$(pwd)/../perl/blib/lib:$(pwd)/../perl/blib/arch/auto/Git
+export PERL5LIB
 test -d ../templates/blt || {
        error "You haven't built things yet, have you?"
 }