aboutsummaryrefslogtreecommitdiffstats
path: root/tool/make-snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot2
1 files changed, 1 insertions, 1 deletions
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