diff --git a/software/erp5/software.cfg b/software/erp5/software.cfg
index 5a2b59827d9ce14b64f277d75bebbc9236168907..8d13ddb035eb6100f92c66f7c8e374d9f504849b 100644
--- a/software/erp5/software.cfg
+++ b/software/erp5/software.cfg
@@ -29,8 +29,8 @@ stop-on-error = true
 branch = erp5-component
 revision =
 location = ${buildout:parts-directory}/${:_buildout_section_name_}
-command = "{git:location}/bin/git" clone --branch "${:branch}" --quiet http://git.erp5.org/repos/slapos.git "${:location}" && if [ -n "${:revision}" ]; then cd "${:location}" && "${git:location}/bin/git" reset --quiet --hard "${:revision}" ; fi
-update-command = cd "${:location}" && "${git:location}/bin/git" fetch --quiet && if [ -n "${:revision}" ]; then "${git:location}/bin/git" reset --hard "${:revision}"; else; "${git:location}/bin/git" reset --quiet --hard @{upstream} ; fi
+command = "${git:location}/bin/git" clone --branch "${:branch}" --quiet http://git.erp5.org/repos/slapos.git "${:location}" && if [ -n "${:revision}" ]; then cd "${:location}" && "${git:location}/bin/git" reset --quiet --hard "${:revision}" ; fi
+update-command = cd "${:location}" && "${git:location}/bin/git" fetch --quiet && if [ -n "${:revision}" ]; then "${git:location}/bin/git" reset --hard "${:revision}"; else "${git:location}/bin/git" reset --quiet --hard @{upstream} ; fi
 
 [check-recipe]
 recipe = plone.recipe.command