From 7fd2a9feceb1581a3d5e4b51dbb57171c6040255 Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Wed, 2 Jan 2019 15:43:51 +0100
Subject: [PATCH] [install] Correct dumux-course branch to releases/3.0

---
 scripts/install.sh | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/scripts/install.sh b/scripts/install.sh
index c96add9b..059dbbe7 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -89,19 +89,13 @@ if [ ! -d "dumux" ]; then
 else
     echo "Skip cloning dumux because the folder already exists."
 fi
-cd dumux
-git checkout releases/3.0
-cd ..
 
 # dumux-course
 if [ ! -d "dumux-course" ]; then
-    git clone https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course.git
+    git clone -b releases/3.0 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course.git
 else
     echo "Skip cloning dumux-course because the folder already exists."
 fi
-cd dumux-course
-git checkout 2018
-cd ..
 
 if [ $? -ne 0 ]; then
     echo "*********************************************************************************************"
-- 
GitLab