From 6a8240dd78716967e1eccb32ccfd966f321258b6 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Thu, 21 Aug 2008 15:15:54 +0000 Subject: Fix regexp of version number of snapshot git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2041 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/tools/tinderbox_build b/tools/tinderbox_build index 70fb07a..7222324 100755 --- a/tools/tinderbox_build +++ b/tools/tinderbox_build @@ -82,7 +82,7 @@ sub BuildIt { if (-e (my $file = "nagios-plugins.spec")) { open F, $file; while () { - if (/^Version: HEAD-(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/) { + if (/^Version: trunk-(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/) { $StartTime = timegm(0, $5, $4, $3, ($2 - 1), ($1 - 1900)); last; } -- cgit v0.10-9-g596f