Skip to content

Commit

Permalink
Move variable definition to the other side of "end local"
Browse files Browse the repository at this point in the history
  • Loading branch information
carterbox committed Jan 9, 2024
1 parent bc0ea1a commit cdbf4ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
setlocal EnableExtensions EnableDelayedExpansion
set SHORT_VERSION=%PKG_VERSION:~0,-2%

set STAGE="%SRC_DIR%\stage"
mkdir %STAGE%

:: You may not always want this when doing dirty builds (debugging late stage
:: problems, but if debugging configure time issues you probably do want this).
if exist config.cache del config.cache
Expand All @@ -25,6 +22,9 @@ for /F "usebackq delims=" %%F in (`dir /b /ad-h`) do (
popd
endlocal

set STAGE=%SRC_DIR%\stage
mkdir %STAGE%

:: Set LLVM path in order to build docs
set LLVM_INSTALL_DIR=%PREFIX%\Library

Expand Down

0 comments on commit cdbf4ac

Please sign in to comment.