Commit 6f8c879a authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

Update install.sh

parent e41adc04
Pipeline #3195 canceled with stage
...@@ -51,12 +51,12 @@ cd DUMUX ...@@ -51,12 +51,12 @@ cd DUMUX
# download the test script and the cmake.opts # download the test script and the cmake.opts
if [ ! -f "test_dumux.sh" ]; then if [ ! -f "test_dumux.sh" ]; then
wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/releases/3.2/scripts/test_dumux.sh wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/releases/3.3/scripts/test_dumux.sh
fi fi
chmod +x test_dumux.sh chmod +x test_dumux.sh
if [ ! -f "cmake.opts" ]; then if [ ! -f "cmake.opts" ]; then
wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/releases/3.2/cmake.opts wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/releases/3.3/cmake.opts
fi fi
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
...@@ -106,21 +106,21 @@ fi ...@@ -106,21 +106,21 @@ fi
# dumux # dumux
if [ ! -d "dumux" ]; then if [ ! -d "dumux" ]; then
git clone -b releases/3.2 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git git clone -b releases/3.3 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
else else
echo "Skip cloning dumux because the folder already exists." echo "Skip cloning dumux because the folder already exists."
cd dumux cd dumux
git checkout releases/3.2 git checkout releases/3.3
cd .. cd ..
fi fi
# dumux-course # dumux-course
if [ ! -d "dumux-course" ]; then if [ ! -d "dumux-course" ]; then
git clone -b releases/3.2 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course.git git clone -b releases/3.3 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course.git
else else
echo "Skip cloning dumux-course because the folder already exists." echo "Skip cloning dumux-course because the folder already exists."
cd dumux-course cd dumux-course
git checkout releases/3.2 git checkout releases/3.3
cd .. cd ..
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment