summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authornsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-27 23:11:02 +0000
committernsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-27 23:11:02 +0000
commitf86176464d705130ca6103043adfc3a4743e9f1c (patch)
tree18f5f6074a5dd2c5e450e414c1fce8919956d4f0 /chrome
parentbcde254237973b4576a53b97defde3a5ba69519a (diff)
downloadchromium_src-f86176464d705130ca6103043adfc3a4743e9f1c.zip
chromium_src-f86176464d705130ca6103043adfc3a4743e9f1c.tar.gz
chromium_src-f86176464d705130ca6103043adfc3a4743e9f1c.tar.bz2
Don't assume that we build from the src/chrome folder.
This is still not perfect, but all least it should work for all the use cases we currently have. Review URL: http://codereview.chromium.org/254001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27353 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rwxr-xr-xchrome/tools/build/win/create_installer_archive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/tools/build/win/create_installer_archive.py b/chrome/tools/build/win/create_installer_archive.py
index 04c4bfe..87026bd 100755
--- a/chrome/tools/build/win/create_installer_archive.py
+++ b/chrome/tools/build/win/create_installer_archive.py
@@ -55,7 +55,7 @@ def BuildVersion(output_dir):
minor = 0
build = 0
patch = 0
- for line in open(os.path.join(output_dir, "..", VERSION_FILE), 'r'):
+ for line in open(os.path.join(output_dir, "..", "..", "chrome", VERSION_FILE), 'r'):
line = line.rstrip()
if line.startswith('MAJOR='):
major = line[6:]