From 930b22161accf31208273c2b674f43c2027dc4ff Mon Sep 17 00:00:00 2001 From: Konstantinos Chatzilygeroudis Date: Mon, 26 Aug 2024 16:56:12 +0300 Subject: [PATCH] Fix missing fi in installation scripts --- scripts/install_osx.sh | 1 + scripts/install_ubuntu.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install_osx.sh b/scripts/install_osx.sh index c3a37c42..9d0ec5ac 100755 --- a/scripts/install_osx.sh +++ b/scripts/install_osx.sh @@ -80,6 +80,7 @@ cd ../.. if [ ! -d "magnum-bindings" ] then git clone https://github.com/mosra/magnum-bindings.git +fi cd magnum-bindings mkdir build && cd build cmake .. -DMAGNUM_WITH_PYTHON=ON diff --git a/scripts/install_ubuntu.sh b/scripts/install_ubuntu.sh index fa247e5b..dda2e288 100755 --- a/scripts/install_ubuntu.sh +++ b/scripts/install_ubuntu.sh @@ -80,6 +80,7 @@ cd ../.. if [ ! -d "magnum-bindings" ] then git clone https://github.com/mosra/magnum-bindings.git +fi cd magnum-bindings mkdir build && cd build cmake .. -DMAGNUM_WITH_PYTHON=ON @@ -87,7 +88,6 @@ make -j cd src/python sudo python3 setup.py install - export PATH=/opt/magnum/bin:$PATH export LD_LIBRARY_PATH=/opt/magnum/lib:$LD_LIBRARY_PATH