From 30fa4be954401986554b5bd5cf9cdcbfdcba1623 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Thu, 4 Apr 2013 18:00:05 +0200 Subject: [PATCH] gentree: fix bug in version file writing Signed-off-by: Johannes Berg --- gentree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gentree.py b/gentree.py index 30222973d633..81516fe51bca 100755 --- a/gentree.py +++ b/gentree.py @@ -381,8 +381,8 @@ def process(kerneldir, outdir, copy_list_file, git_revision=None, kernel_version = git.describe(tree=args.kerneldir) f = open(os.path.join(args.outdir, 'versions'), 'w') f.write('BACKPORTS_VERSION="%s"\n' % backports_version) - f.write('KERNEL_VERSION="%s"\n' % kernel_version) - f.write('KERNEL_NAME="%s"\n' % args.base_name) + f.write('BACKPORTED_KERNEL_VERSION="%s"\n' % kernel_version) + f.write('BACKPORTED_KERNEL_NAME="%s"\n' % args.base_name) f.close() symbols = configtree.symbols() -- 2.30.2