diff --git a/scripts/install.sh b/scripts/install.sh index 95153477d71c827d87d981df6fbeb92d84186af7..00bc658e9d40414c3a1778dbbb79fb43bc704d13 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -46,17 +46,17 @@ echo "(1/4) Downloading supplementary files (test script & cmake.opts). Make sur echo "**************************************************************************************************************" # make a new folder containing everything -mkdir $(pwd)/dumux -cd dumux +mkdir $(pwd)/DUMUX +cd DUMUX # download the test script and the cmake.opts if [ ! -f "test_dumux.sh" ]; then - wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/master/scripts/test_dumux.sh + wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/releases/3.2/scripts/test_dumux.sh fi chmod +x test_dumux.sh if [ ! -f "cmake.opts" ]; then - wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/master/cmake.opts + wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/releases/3.2/cmake.opts fi if [ $? -ne 0 ]; then @@ -109,7 +109,9 @@ if [ ! -d "dumux" ]; then git clone -b releases/3.2 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git else echo "Skip cloning dumux because the folder already exists." + cd dumux git checkout releases/3.2 + cd .. fi # dumux-course @@ -117,7 +119,9 @@ if [ ! -d "dumux-course" ]; then git clone -b releases/3.2 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course.git else echo "Skip cloning dumux-course because the folder already exists." + cd dumux-course git checkout releases/3.2 + cd .. fi if [ $? -ne 0 ]; then