From 8a3467f5d2fedf50f149abb80e5e9f39da668ba7 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 14 Apr 2017 18:01:27 -0400 Subject: Might work better if we were to write emit Python. --- scripts/build-debian-control-files.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/build-debian-control-files.py b/scripts/build-debian-control-files.py index dbfcb38..17c9cd4 100755 --- a/scripts/build-debian-control-files.py +++ b/scripts/build-debian-control-files.py @@ -58,5 +58,4 @@ with open("debian/control", "w") as f: f.write(control_template.format(args = args, conflicts = conflicts)) with open("cryptech_version.py", "w") as f: - f.write(args.newversion) - f.write("\n") + f.write("VERSION = '{}'\n".format(args.newversion)) -- cgit v1.2.3