]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test001-ldif2ldbm
Update build environment to fix VPATH support.
[openldap] / tests / scripts / test001-ldif2ldbm
index 26d10fff941b332d9a9d760d906fcd9a3507e567..49f00671b1d8b46dafa5711f27ca0703005f00fa 100755 (executable)
@@ -1,7 +1,16 @@
 #!/bin/sh
 
-. scripts/defines.sh
+if [ $# -eq 0 ]; then
+       SRCDIR="."
+else
+       SRCDIR=$1; shift
+fi
+
+echo "running defines.sh $SRCDIR"
+
+. $SRCDIR/scripts/defines.sh $SRCDIR
 
+echo "Datadir is $DATADIR"
 
 echo "Cleaning up in $DBDIR..."