mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix revision name
* tool/make-snapshot (package): dump to stringize GIT revisions properly.
This commit is contained in:
parent
24684a81d2
commit
8fb77acac7
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ def package(vcs, rev, destdir, tmp = nil)
|
|||
v = v[0]
|
||||
end
|
||||
|
||||
open("#{v}/revision.h", "wb") {|f| f.puts "#define RUBY_REVISION #{revision}"}
|
||||
open("#{v}/revision.h", "wb") {|f| f.puts "#define RUBY_REVISION #{revision.dump}"}
|
||||
version ||= (versionhdr = IO.read("#{v}/version.h"))[RUBY_VERSION_PATTERN, 1]
|
||||
version ||=
|
||||
begin
|
||||
|
|
Loading…
Add table
Reference in a new issue