]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
search in path
authorHolger Levsen <holger@layer-acht.org>
Tue, 20 Sep 2011 13:06:25 +0000 (15:06 +0200)
committerHolger Levsen <holger@layer-acht.org>
Tue, 20 Sep 2011 13:06:25 +0000 (15:06 +0200)
kernel_inpbuilder.py

index c50f489e5de5206eb2f819a8086f6a527c53f4c6..3bd726c43f9267b5c8e9281ff41a952e48578b35 100644 (file)
@@ -253,7 +253,7 @@ def create_file(path,data):
         raise
 
 def determine_kernel_flavour():
-    pb_version_path = 'pb_version'
+    pb_version_path = os.path.join(GIT_TARGET_DIR, 'pb_version')
     if not os.path.exists(pb_version_path):
         pb_version = '0'
     else: