summaryrefslogtreecommitdiff
path: root/gentree.py
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2013-04-04 18:00:05 +0200
committerJohannes Berg <johannes@sipsolutions.net>2013-04-04 18:21:19 +0200
commit30fa4be954401986554b5bd5cf9cdcbfdcba1623 (patch)
tree5c8dda61992a9b5f0a44bca8e1eb0bd472d0f2b4 /gentree.py
parent240d1e64504fd2b8511a9f4edd3d9331ae1141ca (diff)
gentree: fix bug in version file writing
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'gentree.py')
-rwxr-xr-xgentree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gentree.py b/gentree.py
index 30222973..81516fe5 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()