Handle non-.git checkout with .relver in .bat-file builds.
Thanks to Simon Cooke.
This commit is contained in:
@@ -42,7 +42,7 @@ if exist minilua.exe.manifest^
|
||||
minilua %DASM% -LN %DASMFLAGS% -o host\buildvm_arch.h vm_x86.dasc
|
||||
@if errorlevel 1 goto :BAD
|
||||
|
||||
git show -s --format=%%ct >luajit_relver.txt
|
||||
if exist ..\.git ( git show -s --format=%%ct >luajit_relver.txt ) else ( type ..\.relver >luajit_relver.txt )
|
||||
minilua host\genversion.lua
|
||||
|
||||
%LJCOMPILE% /I "." /I %DASMDIR% host\buildvm*.c
|
||||
|
||||
Reference in New Issue
Block a user