References lp:1066784

merged with patch: bzr diff lp:codership-mysql/5.5 -r3795..3809
This commit is contained in:
Seppo Jaakola 2012-10-23 22:38:11 +03:00
commit ef6f9a8250
21 changed files with 434 additions and 187 deletions

View file

@ -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