configure.pl 213 B

12345678910111213141516
  1. #!/usr/bin/perl
  2. use warnings;
  3. use strict;
  4. use POSIX qw(strftime);
  5. sub nightly {
  6. strftime "%Y%m%d", localtime;
  7. }
  8. our $CONFIG = do $ENV{GLUONDIR} . '/site/site.conf';
  9. my $script = shift @ARGV;
  10. do $script;