Fix revision name
* tool/make-snapshot (package): dump to stringize GIT revisions properly.
This commit is contained in:
parent
24684a81d2
commit
8fb77acac7
@ -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…
x
Reference in New Issue
Block a user