Commit b02a0e9a authored by incardon's avatar incardon

Fixing update

parent 2789a62c
......@@ -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)
......
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