selftest: skip base.dir2 tests as they just spin on modern ext4
[kai/samba.git] / install_with_python.sh
index 5d3beaa..7b51e5c 100755 (executable)
@@ -14,6 +14,8 @@ shift
 
 PATH=$PREFIX/python/bin:$PATH
 export PATH
+LD_LIBRARY_PATH=$PREFIX/python/lib:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH
 
 VERSION="Python-2.6.5"
 
@@ -31,7 +33,7 @@ do_install_python() {
        rm -rf python_install || exit 1
 }
 
-if ! test -d $PREFIX/python; then
+if [ ! -d $PREFIX/python ]; then
    # needs to be installed
    do_install_python
 fi