Code

Fix regexp of version number of snapshot
authorTon Voon <tonvoon@users.sourceforge.net>
Thu, 21 Aug 2008 15:15:54 +0000 (15:15 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Thu, 21 Aug 2008 15:15:54 +0000 (15:15 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2041 f882894a-f735-0410-b71e-b25c423dba1c

tools/tinderbox_build

index 70fb07a36d249708c84a22722085c11efd975561..7222324a10986dd74cd31a354345b97aac73b599 100755 (executable)
@@ -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;
                        }