From 645b8b5553c87f3ca1952a7c88d355b42f1d4b70 Mon Sep 17 00:00:00 2001
From: Nicolas Wavrant <nicolas.wavrant@tiolive.com>
Date: Wed, 23 Oct 2013 16:54:00 +0200
Subject: [PATCH] slaprunner: lightening of the part downloading the slapos
 repo

---
 software/slaprunner/instance-runner.cfg | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/software/slaprunner/instance-runner.cfg b/software/slaprunner/instance-runner.cfg
index 0f8b8ff40..e3af9706c 100644
--- a/software/slaprunner/instance-runner.cfg
+++ b/software/slaprunner/instance-runner.cfg
@@ -500,8 +500,7 @@ recipe = plone.recipe.command
 stop-on-error = true
 reference = $${slap-parameter:slapos-reference}
 location = $${slapos-repo:location}
-environment = export PATH=${git:location}/bin:$PATH;
-command = $${:environment} (cd $${:location} && git checkout $${:reference} && echo "$${directory:etc}/.project" && SR=$${slap-parameter:slapos-software} && if [ -n "$SR" ] && [ ! -f "$${directory:etc}/.project" ]; then echo workspace/slapos/$${slap-parameter:slapos-software}/ > $${directory:etc}/.project; fi) 
+command = $${:environment} (cd $${:location} && ${git:location}/bin/git checkout $${:reference} && echo "$${directory:etc}/.project" && SR=$${slap-parameter:slapos-software} && if [ -n "$SR" ] && [ ! -f "$${directory:etc}/.project" ]; then echo workspace/slapos/$${slap-parameter:slapos-software}/ > $${directory:etc}/.project; fi) 
 update-command = $${:command}
 
 [prepare-software]
-- 
2.30.9