Fix install script

This commit is contained in:
thiagoralves 2018-08-10 17:38:15 -07:00
parent b9d77a938a
commit 15dd0b8c89
1 changed files with 9 additions and 8 deletions

View File

@ -83,8 +83,8 @@ if [ "$1" == "win" ]; then
echo ""
echo "[LIBMODBUS]"
cd utils/libmodbus_src
./autogen
./configure
./autogen.sh
./configure.sh
make install
if [ $? -ne 0 ]; then
echo "Error installing Libmodbus"
@ -176,8 +176,8 @@ elif [ "$1" == "linux" ]; then
echo ""
echo "[LIBMODBUS]"
cd utils/libmodbus_src
./autogen
./configure
./autogen.sh
./configure.sh
sudo make install
if [ $? -ne 0 ]; then
echo "Error installing Libmodbus"
@ -270,8 +270,8 @@ elif [ "$1" == "rpi" ]; then
echo ""
echo "[LIBMODBUS]"
cd utils/libmodbus_src
./autogen
./configure
./autogen.sh
./configure.sh
sudo make install
if [ $? -ne 0 ]; then
echo "Error installing Libmodbus"
@ -355,8 +355,8 @@ elif [ "$1" == "custom" ]; then
echo ""
echo "[LIBMODBUS]"
cd utils/libmodbus_src
./autogen
./configure
./autogen.sh
./configure.sh
sudo make install
if [ $? -ne 0 ]; then
echo "Error installing Libmodbus"
@ -392,3 +392,4 @@ else
fi