Skip to content
Snippets Groups Projects
Commit 80b8691e authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix VPATH support.

parent fe73a8f8
Branches
Tags
No related merge requests found
if test $# -eq 0 ; then
SRCDIR="."
else
SRCDIR=$1; shift
fi
if test $# -eq 0 ; then
BACKEND=ldbm
else
BACKEND=$1; shift
fi
DATADIR=$SRCDIR/data
PROGDIR=$SRCDIR/progs
PROGDIR=./progs
if test "$BACKEND" = "bdb2" ; then
LDIF2LDBM=../servers/slapd/tools/ldif2ldbm-bdb2
......
......@@ -11,7 +11,7 @@ fi
echo "running defines.sh $SRCDIR $BDB2"
. $SRCDIR/scripts/defines.sh $SRCDIR $BDB2
. $SRCDIR/scripts/defines.sh
echo "Datadir is $DATADIR"
......
......@@ -11,7 +11,7 @@ fi
echo "running defines.sh $SRCDIR $BDB2"
. $SRCDIR/scripts/defines.sh $SRCDIR $BDB2
. $SRCDIR/scripts/defines.sh
echo "Datadir is $DATADIR"
......
......@@ -9,7 +9,7 @@ if [ $# -eq 1 ]; then
BDB2=$1; shift
fi
. $SRCDIR/scripts/defines.sh $SRCDIR $BDB2
. $SRCDIR/scripts/defines.sh
echo "Cleaning up in $DBDIR..."
......
......@@ -9,7 +9,7 @@ if [ $# -eq 1 ]; then
BDB2=$1; shift
fi
. $SRCDIR/scripts/defines.sh $SRCDIR $BDB2
. $SRCDIR/scripts/defines.sh
echo "Cleaning up in $DBDIR..."
......
......@@ -9,7 +9,7 @@ if [ $# -eq 1 ]; then
BDB2=$1; shift
fi
. $SRCDIR/scripts/defines.sh $SRCDIR $BDB2
. $SRCDIR/scripts/defines.sh
echo "Cleaning up in $DBDIR..."
......
......@@ -9,7 +9,7 @@ if [ $# -eq 1 ]; then
BDB2=$1; shift
fi
. $SRCDIR/scripts/defines.sh $SRCDIR $BDB2
. $SRCDIR/scripts/defines.sh
echo "Cleaning up in $DBDIR..."
......
......@@ -19,7 +19,7 @@ if [ $# -eq 1 ]; then
BDB2=$1; shift
fi
. $SRCDIR/scripts/defines.sh $SRCDIR $BDB2
. $SRCDIR/scripts/defines.sh
if test ! -x $SLURPD ; then
echo ">>>>> $SLURPD is not executable or do not exist."
......
......@@ -11,7 +11,7 @@ fi
echo "running defines.sh $SRCDIR $BDB2"
. $SRCDIR/scripts/defines.sh $SRCDIR $BDB2
. $SRCDIR/scripts/defines.sh
echo "Datadir is $DATADIR"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment