summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2008-06-22 13:06:13 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2008-07-15 12:28:51 +0200
commit5fcdc5fb90e289ea9739a219fc77e4222eff0afb (patch)
treeb85eeded053d149642283d1a0ac975643965bd31
parentbfdff668b49b9f24a8f79feb4ee22bd53c78f808 (diff)
downloadnbb-5fcdc5fb90e289ea9739a219fc77e4222eff0afb.tar.gz
nbb-5fcdc5fb90e289ea9739a219fc77e4222eff0afb.tar.xz
nbb-5fcdc5fb90e289ea9739a219fc77e4222eff0afb.zip
Concentrate substitutions in one place
-rw-r--r--nbb/nbblib/__init__.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/nbb/nbblib/__init__.in b/nbb/nbblib/__init__.in
index 276c6a7..ed21743 100644
--- a/nbb/nbblib/__init__.in
+++ b/nbb/nbblib/__init__.in
@@ -1,5 +1,5 @@
"""\
-nbb (ndim's branch builder) @PACKAGE_VERSION@
+nbb (ndim's branch builder) %(PACKAGE_VERSION)s
Build, install given branch of source code into a branch specific place
Copyright (C) 2007, 2008 Hans Ulrich Niedermann <hun@n-dimensional.de>
License conditions TBA
@@ -739,7 +739,7 @@ class NBB_Command(object):
outdict = {}
outdict['vcssystems'] = ", ".join(VCSourceTree.plugins.keys())
outdict['buildsystems'] = ", ".join(BSSourceTree.plugins.keys())
-
+outdict['PACKAGE_VERSION'] = PACKAGE_VERSION
def print_help():
print __doc__ % outdict,
@@ -820,7 +820,7 @@ def main(argv):
print_help()
return
elif argv[i] in ('-V', '--version'):
- print "%(prog)s (ndim's branch builder) @PACKAGE_VERSION@" % outdict
+ print "%(prog)s (ndim's branch builder) %(PACKAGE_VERSION)s" % outdict
return
elif argv[i] in ('-n', '--dry-run'):
ctx.dry_run = True