diff --git a/script/update_openfpm b/script/update_openfpm
index 844fed604145fd1511afb83736cff29a2405b61f..4cf1471fe22a4ec64413cf92adb25f9e6a6b7b25 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