mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
References lp:1066784
merged with patch: bzr diff lp:codership-mysql/5.5 -r3795..3809
This commit is contained in:
parent
20df56c100
commit
ef6f9a8250
21 changed files with 434 additions and 187 deletions
|
|
@ -67,9 +67,9 @@ INNOBACKUPEX_BIN=innobackupex
|
|||
INNOBACKUPEX_ARGS=""
|
||||
NC_BIN=nc
|
||||
|
||||
for TOOL_BIN in INNOBACKUPEX_BIN NC_BIN ; do
|
||||
which ${!TOOL_BIN} > /dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
for TOOL_BIN in INNOBACKUPEX_BIN NC_BIN ; do
|
||||
if ! which ${!TOOL_BIN} > /dev/null 2>&1
|
||||
then
|
||||
echo "Can't find ${!TOOL_BIN} in the path"
|
||||
exit 22 # EINVAL
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue