diff options
Diffstat (limited to 'source3/script/tests')
-rwxr-xr-x | source3/script/tests/selftest.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh index 3b65aaa760..e8adc32c7c 100755 --- a/source3/script/tests/selftest.sh +++ b/source3/script/tests/selftest.sh @@ -68,20 +68,20 @@ export WINBINDD_SOCKET_DIR WINBINDD_PRIV_PIPE_DIR PATH=bin:$PATH export PATH -if test x"$LD_LIBRARY_PATH" != x""; then - LD_LIBRARY_PATH="$BINDIR:$LD_LIBRARY_PATH" -else - LD_LIBRARY_PATH="$BINDIR" -fi -echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" -export LD_LIBRARY_PATH - SAMBA4BINDIR=`dirname $SMBTORTURE4` SAMBA4SHAREDDIR="$SAMBA4BINDIR/shared" export SAMBA4SHAREDDIR export SMBTORTURE4 +if test x"$LD_LIBRARY_PATH" != x""; then + LD_LIBRARY_PATH="$BINDIR:$SAMBA4SHAREDDIR:$LD_LIBRARY_PATH" +else + LD_LIBRARY_PATH="$BINDIR:$SAMBA4SHAREDDIR" +fi +echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" +export LD_LIBRARY_PATH + ## ## verify that we were built with --enable-socket-wrapper ## |