summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2008-08-21 15:15:54 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2008-08-21 15:15:54 +0000
commit6a8240dd78716967e1eccb32ccfd966f321258b6 (patch)
treea8bd6b86c3a41ec88d7b93b46da0d87627cec9c8
parentec4a9b2d3d23053b2cbd062aee71f43e37a27048 (diff)
downloadmonitoring-plugins-6a8240dd78716967e1eccb32ccfd966f321258b6.tar.gz
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
-rwxr-xr-xtools/tinderbox_build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tinderbox_build b/tools/tinderbox_build
index 70fb07a3..7222324a 100755
--- a/tools/tinderbox_build
+++ b/tools/tinderbox_build
@@ -82,7 +82,7 @@ sub BuildIt {
82 if (-e (my $file = "nagios-plugins.spec")) { 82 if (-e (my $file = "nagios-plugins.spec")) {
83 open F, $file; 83 open F, $file;
84 while (<F>) { 84 while (<F>) {
85 if (/^Version: HEAD-(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/) { 85 if (/^Version: trunk-(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/) {
86 $StartTime = timegm(0, $5, $4, $3, ($2 - 1), ($1 - 1900)); 86 $StartTime = timegm(0, $5, $4, $3, ($2 - 1), ($1 - 1900));
87 last; 87 last;
88 } 88 }