Skip to content
Snippets Groups Projects
Commit b02a0e9a authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing update

parent 2789a62c
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment