Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_pdata
Commits
b02a0e9a
Commit
b02a0e9a
authored
Apr 19, 2018
by
incardon
Browse files
Fixing update
parent
2789a62c
Changes
1
Hide whitespace changes
Inline
Side-by-side
script/update_openfpm
View file @
b02a0e9a
...
...
@@ -42,12 +42,18 @@ function update_openfpm()
for_opt
=
"-c
$for_opt
"
fi
if
[
x
"
$1
"
==
x
"update"
]
;
then
git stash
-u
git submodule foreach
'git stash'
git stash
-u
git submodule foreach
'git stash'
git pull origin master
else
rm
-rf
{
,.[!.],..?
}
*
echo
"Cloning Repo:
$repo
"
git clone
$repo
.
git pull origin
git submodule update
fi
#### Check if we have to force upgrade
force_up
=
$(
cat
force_upgrade
)
...
...
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