Fix install script

This commit is contained in:
thiagoralves 2018-08-10 17:45:22 -07:00
parent 15dd0b8c89
commit c18308a8ad
1 changed files with 4 additions and 4 deletions

View File

@ -84,7 +84,7 @@ if [ "$1" == "win" ]; then
echo "[LIBMODBUS]"
cd utils/libmodbus_src
./autogen.sh
./configure.sh
./configure
make install
if [ $? -ne 0 ]; then
echo "Error installing Libmodbus"
@ -177,7 +177,7 @@ elif [ "$1" == "linux" ]; then
echo "[LIBMODBUS]"
cd utils/libmodbus_src
./autogen.sh
./configure.sh
./configure
sudo make install
if [ $? -ne 0 ]; then
echo "Error installing Libmodbus"
@ -271,7 +271,7 @@ elif [ "$1" == "rpi" ]; then
echo "[LIBMODBUS]"
cd utils/libmodbus_src
./autogen.sh
./configure.sh
./configure
sudo make install
if [ $? -ne 0 ]; then
echo "Error installing Libmodbus"
@ -356,7 +356,7 @@ elif [ "$1" == "custom" ]; then
echo "[LIBMODBUS]"
cd utils/libmodbus_src
./autogen.sh
./configure.sh
./configure
sudo make install
if [ $? -ne 0 ]; then
echo "Error installing Libmodbus"