Code

Fix regexp of version number of snapshot
[nagiosplug.git] / 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;
                        }