Index: tools/export_tarball/export_tarball.py |
diff --git a/tools/export_tarball/export_tarball.py b/tools/export_tarball/export_tarball.py |
index 861503eec64991bd88b1f6cfa8f0e84e16babbc1..ac366db8e841cbee44c76df5527bde39994e040a 100755 |
--- a/tools/export_tarball/export_tarball.py |
+++ b/tools/export_tarball/export_tarball.py |
@@ -1,5 +1,5 @@ |
#!/usr/bin/env python |
-# Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
@@ -101,6 +101,12 @@ def main(argv): |
print 'Cannot find the src directory.' |
return 1 |
+ # This command is from src/DEPS; please keep them in sync. |
+ if subprocess.call(['python', 'build/util/lastchange.py', '-o', |
+ 'build/util/LASTCHANGE'], cwd=GetSourceDirectory()) != 0: |
+ print 'Could not run build/util/lastchange.py to update LASTCHANGE.' |
+ return 1 |
+ |
output_fullname = args[0] + '.tar.bz2' |
output_basename = os.path.basename(args[0]) |