]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test007-replication
Update build environment to fix VPATH support.
[openldap] / tests / scripts / test007-replication
index 10190728fc044468f7868b78f6c7f97c7543ffdf..58bcfec0a179931ac40793b549ae5ff931dc5408 100755 (executable)
 # - retrieve database over ldap and compare against expected results
 #
 
-. scripts/defines.sh
+if [ $# -eq 0 ]; then
+       SRCDIR="."
+else
+       SRCDIR=$1; shift
+fi
+
+. $SRCDIR/scripts/defines.sh $SRCDIR
 
 if test ! -x $SLURPD ; then
        echo ">>>>> $SLURPD is not executable or do not exist."