From ac364b4bab0f0b48eb3cf46cd174ecf2bd6f60e3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 21 Jan 2009 10:05:53 +0100 Subject: selftest: bin/ is under $(builddir) instead of $(srcdir) metze --- selftest/selftest.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'selftest') diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 292a2d2dd6..fd0b85c9b0 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -443,9 +443,10 @@ my $testenv_default = "none"; if ($opt_target eq "samba4") { $testenv_default = "member"; require target::Samba4; - $target = new Samba4($opt_bindir or "$srcdir/bin", $ldap, "$srcdir/setup"); + $target = new Samba4($opt_bindir or "$builddir/bin", + $ldap, "$srcdir/setup", $exeext); } elsif ($opt_target eq "samba3") { - my $bindir = ($opt_bindir or "$srcdir/bin"); + my $bindir = ($opt_bindir or "$builddir/bin"); if ($opt_socket_wrapper and `$bindir/smbd -b | grep SOCKET_WRAPPER` eq "") { die("You must include --enable-socket-wrapper when compiling Samba in order to execute 'make test'. Exiting...."); } -- cgit