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
731476b7
Commit
731476b7
authored
Feb 21, 2017
by
Pietro Incardona
Browse files
Testing upgrade fix
parent
4f0f9efa
Changes
1
Hide whitespace changes
Inline
Side-by-side
script/update_openfpm
View file @
731476b7
...
...
@@ -36,6 +36,16 @@ function update_openfpm()
fi
fi
dir_prev_inst
=
$(
cat
dependencies_dir
)
for_opt
=
$(
cat
foward_options
)
if
[
x
"
$dir_prev_inst
"
!=
x
""
]
;
then
dir_prev_inst
=
"-i
$dir_prev_inst
"
fi
if
[
x
"
$foward_options
"
!=
x
""
]
;
then
foward_options
=
"-c
$foward_options
"
fi
git stash
-u
git submodule foreach
'git stash'
...
...
@@ -57,14 +67,6 @@ function update_openfpm()
echo
-e
"To make the update active do:
\0
33[1m make install
\0
33[0m"
fi
else
dir_prev_inst
=
$(
cat
dependencies_dir
)
for_opt
=
$(
cat
foward_options
)
if
[
x
"
$dir_prev_inst
"
!=
x
""
]
;
then
dir_prev_inst
=
"-i
$dir_prev_inst
"
fi
if
[
x
"
$foward_options
"
!=
x
""
]
;
then
foward_options
=
"-c
$foward_options
"
fi
./install
$dir_prev_inst
$foward_options
fi
...
...
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