1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Kazuhiro NISHIYAMA 2019-08-24 10:20:44 +09:00
parent b38ab0a3a9
commit fe83ed47e7
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -202,7 +202,7 @@ end
def package(vcs, rev, destdir, tmp = nil)
patchlevel = false
prerelease = false
if rev and revision = rev[/@(\d+)\z/, 1]
if rev and revision = rev[/@(\h+)\z/, 1]
rev = $`
end
case rev