compiler/bmake.bat
changeset 11 6d39860d0fdb
parent 8 eec72263ed75
--- a/compiler/bmake.bat	Mon Sep 14 16:27:00 2015 +0100
+++ b/compiler/bmake.bat	Wed Sep 16 05:29:43 2015 +0100
@@ -5,7 +5,7 @@
 @REM -------
 @SET DEFINES=
 @REM Kludge got Mercurial, cannot be implemented in Borland make
-@FOR /F "tokens=*" %i in ('hg root') do SET HGROOT=%i
+@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
 @IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"
 
 make.exe -N -f bc.mak  %DEFINES% %*