1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

r22997: only if the output of which has a leading '/' the output is useful...

metze
(This used to be commit 34968bef6dc673374c6d017df87a99a60905d3b7)
This commit is contained in:
Stefan Metzmacher 2007-05-18 09:47:53 +00:00 committed by Gerald (Jerry) Carter
parent 23026646e1
commit d3f30cab1e

View File

@ -33,7 +33,7 @@ case "${UNAME}" in
esac
for DB in ${DB_LIST}; do
DB_BIN=`which ${DB} 2>/dev/null`
DB_BIN=`which ${DB} 2>/dev/null | grep '^/'`
test x"${DB_BIN}" != x"" && {
break
}