[Cryptech-Commits] [releng/alpha] 02/02: Might work better if we were to write emit Python.

git at cryptech.is git at cryptech.is
Fri Apr 14 22:01:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch ksng
in repository releng/alpha.

commit 8a3467f5d2fedf50f149abb80e5e9f39da668ba7
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Fri Apr 14 18:01:27 2017 -0400

    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))



More information about the Commits mailing list