anchor.diff:    )
   )
   
  -EXIT %EXIT_STATUS%+EXIT %EXIT_STATUS%
  
positive.code: REM enable delayed expansion so that ERRORLEVEL is evaluated properly inside IF blocks
  SETLOCAL ENABLEDELAYEDEXPANSION
  
  REM echo --- Environment Variables
  REM SET
  
  echo --- Creating Build Environment
  
  REM Returns the location of this file
  
  SET BUILDKITE_DIR=%~dp0
  
  REM Add the BUILDKITE_DIR to the PATH
  
  SET PATH=%PATH%;%BUILDKITE_DIR%
  
  REM Create the build directory
  
  SET SANITIED_PROJECT_SLUG=%BUILDKITE_PROJECT_SLUG:/=\%
  SET BUILDKITE_BUILD_DIR=%BUILDKITE_DIR%%BUILDKITE_AGENT_NAME%\%SANITIED_PROJECT_SLUG%
  
  IF NOT EXIST "%BUILDKITE_BUILD_DIR%" (
    REM Create the build directory
  
negative.code: 
  REM Move to the build directory
  
  ECHO ^> CD /D "%BUILDKITE_BUILD_DIR%"
  CD /D "%BUILDKITE_BUILD_DIR%"
  IF %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
  
  REM Do we need to do a git checkout?
  