Commit af112a29 authored by incardon's avatar incardon
Browse files

Upgrade provide message

parent c4d825e1
......@@ -17,7 +17,7 @@ if [ x"$HOME" == x"" ]; then
fi
install_req=1
i_dir=" "
i_dir=""
sq=0
nomake=0
update_openfpm=0
......@@ -503,8 +503,8 @@ if [ $conf_err -eq 0 ]; then
echo -e "Install summary\033[92;5;1m SUCCEED \033[0m"
## Save dependencies dir and foward options
echo "$i_dir_old" > dependencies_dir
echo "$configure_options_old" > foward_options
printf "$i_dir_old" > dependencies_dir
printf "$configure_options_old" > foward_options
else
echo -e "Install summary\033[91;5;1m FAILED \033[0m"
......
......@@ -39,10 +39,10 @@ function update_openfpm()
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"
dir_prev_inst="-i \"$dir_prev_inst\""
fi
if [ x"$for_opt" != x"" ]; then
for_opt="-c $for_opt"
for_opt="-c \"$for_opt\""
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