From: Johannes Berg Date: Thu, 4 Apr 2013 16:00:05 +0000 (+0200) Subject: gentree: fix bug in version file writing X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=30fa4be954401986554b5bd5cf9cdcbfdcba1623;p=openwrt%2Fstaging%2Fblogic.git gentree: fix bug in version file writing Signed-off-by: Johannes Berg --- 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()