aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-10-30 20:21:22 +0000
committerlloyd <[email protected]>2012-10-30 20:21:22 +0000
commit17a3de836911cbdb002832d9b548d3dec37d4d31 (patch)
treee0bcc44414d1b8d2877dd6505b94756dae3cc989
parent0f301b1bc6ec4dcb4626cf7050c300abe1fef814 (diff)
Fix setting release_vc_rev
-rwxr-xr-xsrc/build-data/scripts/dist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/scripts/dist.py b/src/build-data/scripts/dist.py
index b32edd73f..70f655bce 100755
--- a/src/build-data/scripts/dist.py
+++ b/src/build-data/scripts/dist.py
@@ -183,7 +183,7 @@ def main(args = None):
if line == 'release_vc_rev = None\n':
yield 'release_vc_rev = \'mtn:%s\'\n' % (rev_id)
elif line == 'release_datestamp = 0\n':
- yield 'release_vc_rev = %d\n' % (datestamp(rev_iv))
+ yield 'release_vc_rev = %d\n' % (datestamp(options.mtn_db, rev_id))
else:
yield line