scripts/configure.pl: add function to generate a nightly version string

This commit is contained in:
Matthias Schiffer 2014-01-20 01:48:03 +01:00
parent 90d1d91423
commit 9f3a09a765
1 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,12 @@
use warnings;
use strict;
use POSIX qw(strftime);
sub nightly {
strftime "%Y%m%d", localtime;
}
our $CONFIG = do $ENV{GLUONDIR} . '/site/site.conf';