1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00

testprogs: Use system_or_builddir_binary() for renamedc

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Andreas Schneider 2022-12-22 13:10:34 +01:00 committed by Andreas Schneider
parent e6ab157f82
commit 6847110004

View File

@ -10,13 +10,10 @@ fi
PREFIX="$1"
shift 1
samba4bindir="$BINDIR"
ldbsearch="ldbsearch"
if [ -x "$samba4bindir/ldbsearch" ]; then
ldbsearch="$samba4bindir/ldbsearch"
fi
. $(dirname $0)/subunit.sh
. "$(dirname "${0}")/common_test_fns.inc"
ldbsearch=$(system_or_builddir_binary ldbsearch "${BINDIR}")
if [ ! -d $PREFIX/renamedc_test ]; then
mkdir -p $PREFIX/renamedc_test