Commit b02a0e9a authored by incardon's avatar incardon

Fixing update

parent 2789a62c
...@@ -42,12 +42,18 @@ function update_openfpm() ...@@ -42,12 +42,18 @@ function update_openfpm()
for_opt="-c $for_opt" for_opt="-c $for_opt"
fi fi
if [ x"$1" == x"update" ]; then
git stash -u
git submodule foreach 'git stash'
git stash -u git pull origin master
git submodule foreach 'git stash' else
rm -rf {,.[!.],..?}*
echo "Cloning Repo: $repo"
git clone $repo .
git pull origin fi
git submodule update
#### Check if we have to force upgrade #### Check if we have to force upgrade
force_up=$(cat 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