From: Holger Levsen Date: Tue, 20 Sep 2011 13:06:25 +0000 (+0200) Subject: search in path X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=722e6eb83cc1438f8fc9615fcf1b6f16063e22d8;p=profitbricks%2Fjenkins-build-scripts.git search in path --- diff --git a/kernel_inpbuilder.py b/kernel_inpbuilder.py index c50f489..3bd726c 100644 --- a/kernel_inpbuilder.py +++ b/kernel_inpbuilder.py @@ -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: