Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux-course
Commits
fdd85038
Commit
fdd85038
authored
Apr 21, 2020
by
Ned Coltman
Browse files
[install] use wget on 3.2 release, adapt folder check
parent
78484a74
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/install.sh
View file @
fdd85038
...
...
@@ -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
...
...
Ned Coltman
@nedc
mentioned in commit
8396c40c
·
Apr 21, 2020
mentioned in commit
8396c40c
mentioned in commit 8396c40c6ab134c03b38faebe1725ac3e84e9cf6
Toggle commit list
Ned Coltman
@nedc
mentioned in merge request
!102 (merged)
·
Apr 21, 2020
mentioned in merge request
!102 (merged)
mentioned in merge request !102
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment