]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix logic mistake
authorHolger Levsen <holger@layer-acht.org>
Wed, 9 Nov 2011 16:09:00 +0000 (17:09 +0100)
committerHolger Levsen <holger@layer-acht.org>
Wed, 9 Nov 2011 16:09:00 +0000 (17:09 +0100)
kernel_build.py

index 3a91c0f75decc94182c22aa3ea8b26db2d1319e6..24024ad63521a79225c265c5ae88070440c4452e 100644 (file)
@@ -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'),