From 9dd27bc7ee098bff90914ea07f1170a8308b376b Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 17 Sep 2009 20:36:20 -0700 Subject: [PATCH] build-deb.py: run darcsver early, otherwise we get the wrong version later on --- misc/build-deb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/build-deb.py b/misc/build-deb.py index 7c0015d9..491812e0 100644 --- a/misc/build-deb.py +++ b/misc/build-deb.py @@ -41,7 +41,7 @@ def run(*cmd, **kwargs): # the very first time you run setup.py, it will download+build darcsver and # whatnot, emitting noise to stdout. Run it once (and throw away that junk) # to avoid treating that noise as the package name. -run(PYTHON, "setup.py", "--name") +run(PYTHON, "setup.py", "darcsver") NAME = get_output(PYTHON, "setup.py", "--name").strip() VERSION = get_output(PYTHON, "setup.py", "--version").strip() -- 2.45.2