forked from HPR/hpr_generator
Hide error output from which command
Local version is used if a global system version isn't found. Without this redirect, the error response from which is shown on the terminal, even though everything is OK.
This commit is contained in:
parent
54ed57fd1a
commit
70f994e7e8
@ -132,7 +132,7 @@ function make_hpr_sqlite_db {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local MYSQL2SQLITE=`which mysql2sqlite`
|
local MYSQL2SQLITE=`which mysql2sqlite 2>/dev/null`
|
||||||
local BIN_PATH=""
|
local BIN_PATH=""
|
||||||
|
|
||||||
if [ "$MYSQL2SQLITE" = "" ];
|
if [ "$MYSQL2SQLITE" = "" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user