ethercat error msg in install

This commit is contained in:
r2k
2022-11-19 13:49:48 +02:00
parent f0ffc80ed2
commit bc0cd00e1f
2 changed files with 7 additions and 6 deletions
+6 -5
View File
@@ -101,11 +101,12 @@ function install_all_libs {
echo ""
echo "[EtherCAT]"
cd utils/ethercat_src
mkdir -p build
sudo cmake -S . -B build/
sudo cmake --build build/
sudo cmake --install build/
sudo /sbin/ldconfig -v | grep ethercat
./install.sh
if [ $? -ne 0 ]; then
echo "Error compiling EtherCAT"
echo "OpenPLC was NOT installed!"
exit 1
fi
cd ../..
echo ""