Fix VPATH support.

This commit is contained in:
Kurt Zeilenga 1999-04-08 02:18:54 +00:00
parent fe73a8f8cd
commit 80b8691eac
9 changed files with 9 additions and 19 deletions

View File

@ -1,16 +1,6 @@
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

View File

@ -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"

View File

@ -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"

View File

@ -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..."

View File

@ -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..."

View File

@ -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..."

View File

@ -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..."

View File

@ -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."

View File

@ -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"