mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#5193 don't use "cd; pwd" to get the absolute path of schema dir
This commit is contained in:
parent
45309cab94
commit
f3c82a78a0
@ -52,7 +52,10 @@ PROGDIR=./progs
|
||||
DATADIR=${USER_DATADIR-./testdata}
|
||||
TESTDIR=${USER_TESTDIR-$TESTWD/testrun}
|
||||
SCHEMADIR=${USER_SCHEMADIR-./schema}
|
||||
ABS_SCHEMADIR=`(cd $SCHEMADIR; pwd)`
|
||||
case "$SCHEMADIR" in
|
||||
.*) ABS_SCHEMADIR="$TESTWD/$SCHEMADIR" ;;
|
||||
*) ABS_SCHEMADIR="$SCHEMADIR" ;;
|
||||
esac
|
||||
|
||||
DBDIR1A=$TESTDIR/db.1.a
|
||||
DBDIR1B=$TESTDIR/db.1.b
|
||||
|
Loading…
Reference in New Issue
Block a user