From 77e5c8f293ceafa04d1fed43a27f6198d7beef0f Mon Sep 17 00:00:00 2001 From: Scott Marquis Date: Fri, 11 Oct 2019 10:54:03 +0100 Subject: [PATCH] #633 fix install script --- scripts/install_sundials_4.1.0.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install_sundials_4.1.0.sh b/scripts/install_sundials_4.1.0.sh index 37f104df9f..346fd17a55 100755 --- a/scripts/install_sundials_4.1.0.sh +++ b/scripts/install_sundials_4.1.0.sh @@ -82,8 +82,8 @@ export SUITESPARSE=$SUITESPARSE_DIR cd $CURRENT_DIR mkdir -p third-party cd third-party -# if already cloned then pull otherwise clone pybind11 -if cd pybind11; then git pull; else git clone https://github.com/pybind/pybind11.git; fi +rm -rf pybind11 # just remove it if it is already there +git clone https://github.com/pybind/pybind11.git; fi cd $CURRENT_DIR pip install pybind11 # also do a pip install for good measure