mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Fix VPATH support.
This commit is contained in:
parent
fe73a8f8cd
commit
80b8691eac
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user