projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dc17aa
)
build-deb.py: run darcsver early, otherwise we get the wrong version later on
author
Brian Warner
<warner@lothar.com>
Fri, 18 Sep 2009 03:36:20 +0000
(20:36 -0700)
committer
Brian Warner
<warner@lothar.com>
Fri, 18 Sep 2009 03:36:20 +0000
(20:36 -0700)
misc/build-deb.py
patch
|
blob
|
history
diff --git
a/misc/build-deb.py
b/misc/build-deb.py
index 7c0015d9b92dd6b394dc982167315917dcfd0228..491812e05f749003d33770ecd9f2201e3fd4fcf1 100644
(file)
--- 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()