diff --git a/tool/make-snapshot b/tool/make-snapshot index ad5fd879f3..9199cc2097 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -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