]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test003-search
Update build environment to fix VPATH support.
[openldap] / tests / scripts / test003-search
index 868ea4b8409118736cf923f001799fd276170bbd..661ccc219f39515e6da09cf3af7aa4160931967a 100755 (executable)
@@ -1,6 +1,12 @@
 #!/bin/sh
 
-. scripts/defines.sh
+if [ $# -eq 0 ]; then
+       SRCDIR="."
+else
+       SRCDIR=$1; shift
+fi
+
+. $SRCDIR/scripts/defines.sh $SRCDIR
 
 echo "Cleaning up in $DBDIR..."