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:
parent
1e845a983a
commit
e9b27a34e3
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user