aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-04-14 18:01:27 -0400
committerRob Austein <sra@hactrn.net>2017-04-14 18:01:27 -0400
commit8a3467f5d2fedf50f149abb80e5e9f39da668ba7 (patch)
tree445814ea714fb7634bf83112f8365eb5c763138a
parent92b67aebd49eadbff9efa3d76ef4f25c5df186d4 (diff)
Might work better if we were to write emit Python.
-rwxr-xr-xscripts/build-debian-control-files.py3
1 files changed, 1 insertions, 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))