From ac8c9a8a16329fafad8ff9ff051ca2dea609f442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com> Date: Thu, 2 Aug 2012 10:22:48 +0200 Subject: [PATCH] Define git binary in cloud9 environment --- component/cloud9/buildout.cfg | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/component/cloud9/buildout.cfg b/component/cloud9/buildout.cfg index 3ae4821cc..9aa5465f2 100644 --- a/component/cloud9/buildout.cfg +++ b/component/cloud9/buildout.cfg @@ -31,10 +31,8 @@ stop-on-error = true commit = 9caeac82317bdf8e9942fd17676325234cfadac8 repository = https://github.com/ajaxorg/cloud9.git location = ${buildout:parts-directory}/${:_buildout_section_name_} -git-binary = ${git:location}/bin/git -npm-binary = ${nodejs:location}/bin/node ${nodejs:location}/bin/npm -environment = export GIT_SSL_NO_VERIFY=true; export PATH=${nodejs:location}/bin:${node-sm:location}/node_modules/sm/bin/:$PATH; export CPPFLAGS="-I${libxml2:location}/include -I${nodejs:location}/include"; export LDFLAGS="-L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib"; export HOME=${:location}; -command = ${:environment} (${:git-binary} clone --quiet ${:repository} ${:location} && cd ${:location} && ${:git-binary} reset --hard ${:commit} && ${node-sm:location}/node_modules/.bin/sm install) || (rm -fr ${:location}; exit 1) +environment = export GIT_SSL_NO_VERIFY=true; export PATH=${git:location}/bin:${nodejs:location}/bin:${node-sm:location}/node_modules/sm/bin:$PATH; export CPPFLAGS="-I${libxml2:location}/include -I${nodejs:location}/include"; export LDFLAGS="-L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib"; export HOME=${:location}; +command = ${:environment} (git clone --quiet ${:repository} ${:location} && cd ${:location} && git reset --hard ${:commit} && ${node-sm:location}/node_modules/.bin/sm install) || (rm -fr ${:location}; exit 1) update-command = [cloud9-npm] -- 2.30.9