Commit 731476b7 authored by incardon's avatar incardon
Browse files

Testing upgrade fix

parent 4f0f9efa
......@@ -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: \033[1m make install \033[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
......
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