mirror of
https://github.com/samba-team/samba.git
synced 2025-12-04 08:23:50 +03:00
r22998: merge from SAMBA_4_0:
only if the output of which has a leading '/' the output is useful... metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
c53cf972cf
commit
5c5aa1f862
@@ -33,7 +33,7 @@ case "${UNAME}" in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
for DB in ${DB_LIST}; do
|
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"" && {
|
test x"${DB_BIN}" != x"" && {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user