diff options
author | Marshall Greenblatt <magreenblatt@gmail.com> | 2020-06-30 12:21:22 -0400 |
---|---|---|
committer | Marshall Greenblatt <magreenblatt@gmail.com> | 2020-06-30 12:21:22 -0400 |
commit | 9af93fec8b0fc1a72e89a606a4b25038dc655986 (patch) | |
tree | 7f6f81adc11329a8ef8de2387c0b993b968dde53 /tools/compile.bat | |
parent | 3b1153811f23c69a4319b20dcacfa44dddafb379 (diff) | |
download | jcef-9af93fec8b0fc1a72e89a606a4b25038dc655986.tar.gz |
Windows: Rename RC variable which breaks cmake (fixes issue #222)
Diffstat (limited to 'tools/compile.bat')
-rw-r--r-- | tools/compile.bat | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/compile.bat b/tools/compile.bat index d67d93d..8741968 100644 --- a/tools/compile.bat +++ b/tools/compile.bat @@ -3,8 +3,8 @@ :: reserved. Use of this source code is governed by a BSD-style license
:: that can be found in the LICENSE file.
+set RETURNCODE=
setlocal
-set RC=
cd ..
if "%1" == "" (
@@ -24,11 +24,11 @@ xcopy /sfy .\java\tests\detailed\handler\*.html %OUT_PATH%\tests\detailed\handle xcopy /sfy .\java\tests\detailed\handler\*.png %OUT_PATH%\tests\detailed\handler\
:end
-endlocal & set RC=%ERRORLEVEL%
+endlocal & set RETURNCODE=%ERRORLEVEL%
goto omega
:returncode
-exit /B %RC%
+exit /B %RETURNCODE%
:omega
-call :returncode %RC%
+call :returncode %RETURNCODE%
|