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:
parent
23026646e1
commit
d3f30cab1e
@ -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