From: Holger Levsen Date: Wed, 9 Nov 2011 16:09:00 +0000 (+0100) Subject: fix logic mistake X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=3fb45660c18b4ee23f29d2b7a4721179db60b99b;p=profitbricks%2Fjenkins-build-scripts.git fix logic mistake --- diff --git a/kernel_build.py b/kernel_build.py index 3a91c0f..24024ad 100644 --- a/kernel_build.py +++ b/kernel_build.py @@ -51,7 +51,7 @@ def build_kernel_with_pbuilder(revision, pbuilder_script, dist='stable'): PBUILDER, '--execute', '--hookdir', '""', - '--bindmounts', '"/srv/git %s /var/lib/jenkins/jenkins_build_script/"' % (CWD), + '--bindmounts', '"/srv/git %s /var/lib/jenkins/jenkins_build_script/"' % (os.path.join(CWD,'..')), '--', pbuilder_script, '--cwd', '%s' %('/tmp'),