diff --git a/script/update_openfpm b/script/update_openfpm
index b1ec3d18824fb98b28d9eb1e5328faf1dbe6ee48..d8959e382ebb2d4ad55be5cbfe041e820bed6058 100755
--- a/script/update_openfpm
+++ b/script/update_openfpm
@@ -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
 
 
@@ -70,8 +70,6 @@ function update_openfpm()
     ./install $dir_prev_inst $for_opt
   fi
 
-  ### end
-
 }