1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r22998: merge from SAMBA_4_0:

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

metze
(This used to be commit 5c5aa1f862ad5e765b18c8dbc981af3012b48cb7)
This commit is contained in:
Stefan Metzmacher 2007-05-18 09:50:56 +00:00 committed by Gerald (Jerry) Carter
parent 1e845a983a
commit e9b27a34e3

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
}