Permalink
Browse files

[WIN32] fixed trailing space at the end of the branch name (I will do…

… more tests...I will do more tests...I will do more tests...)
  • Loading branch information...
1 parent fe87e50 commit afb262107c0da27d993a18d95fc02baa97ccce96 wsoltys committed Apr 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 project/Win32BuildSetup/BuildSetup.bat
View
2 project/Win32BuildSetup/BuildSetup.bat
@@ -62,7 +62,7 @@ IF %comp%==vs2010 (
:: when building with jenkins there's no branch. First git command gets the branch even there
:: but is empty in a normal build environment. Second git command gets the branch there.
- for /f "tokens=3 delims=/" %%a in ('git branch -r --contains HEAD') do set BRANCH=%%a
+ for /f "tokens=3 delims=/" %%a in ('git branch -r --contains HEAD') do set BRANCH=%%a
IF %BRANCH%==na (
for /f "tokens=* delims= " %%a in ('git rev-parse --abbrev-ref HEAD') do set BRANCH=%%a
)

0 comments on commit afb2621

Please sign in to comment.