aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2008-08-21 15:15:54 +0000
committerGravatar Ton 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 {
if (-e (my $file = "nagios-plugins.spec")) {
open F, $file;
while (<F>) {
- 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;
}