diff --git a/software/erp5/software.cfg b/software/erp5/software.cfg index a71ffb1bea3845e53df9e2cc5184ee4fe968d954..dce28610372dc1e1f7e5915e9aedc89b3751fcc7 100644 --- a/software/erp5/software.cfg +++ b/software/erp5/software.cfg @@ -29,7 +29,7 @@ stop-on-error = true branch = erp5 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 [ test -n "${:revision} "]; then cd ${:location} && ${git:location}/bin/git reset --quiet --hard ${:revision} ; fi +command = ${git:location}/bin/git clone --branch ${:branch} --quiet http://git.erp5.org/repos/slapos.git ${:location} && if [ test -n "${:revision}"]; then cd ${:location} && ${git:location}/bin/git reset --quiet --hard ${:revision} ; fi update-command = cd ${:location} && GIT_COMMITTER_EMAIL=nobody@example.com GIT_AUTHOR_NAME=Nobody GIT_AUTHOR_EMAIL=nobody@example.com ${git:location}/bin/git pull --quiet && if [ test -n "${:revision}" ]; then echo "Resetting." ; cd ${:location} && ${git:location}/bin/git reset --hard ${:revision} ; fi [check-recipe]