summaryrefslogtreecommitdiffstats
path: root/chrome/tools/build/win/version.bat
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/tools/build/win/version.bat')
-rw-r--r--chrome/tools/build/win/version.bat3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/tools/build/win/version.bat b/chrome/tools/build/win/version.bat
index 0a9504f..afdfa1a 100644
--- a/chrome/tools/build/win/version.bat
+++ b/chrome/tools/build/win/version.bat
@@ -18,7 +18,8 @@ cat %SolutionDir%\VERSION | sed "s/\(.*\)/set \1/" > %VarsBat%
:: Load branding strings as environment variables
cat %SolutionDir%\BRANDING | sed "s/\(.*\)/set \1/" >> %VarsBat%
-if not "%OFFICIAL_BUILD%" == "1" set OFFICIAL_BUILD=0
+set OFFICIAL_BUILD=0
+if "%CHROME_BUILD_TYPE%" == "_official" set OFFICIAL_BUILD=1
:: Determine the current repository revision number
set PATH=%~dp0..\..\..\..\third_party\svn;%PATH%