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

View File

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