Actions
Bug #13445
closedMinGW, GIT, revision.h, vcs.rb
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-04-17 trunk 58383) [x64-mingw32]
Description
When generating a MinGW build from a local repo, the revision.h file does not exist, and is create by tool/file2lastrev.rb
which requires tool/vcs.rb
.
On windows/MinGW, one often needs to specify a git.exe
location, which can be done using the --with-git=
configure option, created via win32/configure.bat
. This setting is not picked up via vcs.rb
.
See GitHub PR #1557
Adds the following code to the top of vcs.rb
# If specified in configure options, adds git location to PATH for MinGW builds
if (t = ENV['GIT']) && File.exist?(t)
ENV['PATH'] = "#{File.dirname(t)}#{File::PATH_SEPARATOR}#{ENV['PATH']}"
end
Updated by MSP-Greg (Greg L) about 7 years ago
PR is 1587, but link is correct...
Updated by MSP-Greg (Greg L) about 7 years ago
Please close.
I fixed the issue based on looking into tool/vsc.rb only where my error was.
Nobu fixed the issue based on everywhere in the file it should be changed. See svn 58387 or commit 2103197
Thank you.
Updated by hsbt (Hiroshi SHIBATA) about 7 years ago
- Status changed from Open to Closed
Actions
Like0
Like0Like0Like0