Skip to content

Commit

Permalink
Version Generator: fix strange crash.
Browse files Browse the repository at this point in the history
- The version generator would crash on me at every two full rebuilds. While
  investigating, I realized that as soon as I was echoing something, the
  script would work as intended, making it nearly impossible to debug. It also
  had the side effect of fixing the problem! So by adding the smallest
  possible echo (`ECHO.`), the bug is fixed.

[#12]

Signed-off-by: Jocelyn Legault <jocelynlegault@gmail.com>
  • Loading branch information
joce committed Dec 7, 2009
1 parent 1fb443b commit df290f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/GIT-VS-VERSION-GEN.bat
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ REM ===================
REM Entry Point
REM ===================
:START
ECHO.
CALL :INIT_VARS
CALL :GET_VERSION_STRING
IF DEFINED fGIT_AVAILABLE (
Expand Down

0 comments on commit df290f8

Please sign in to comment.