scripts/configure.pl: add function to generate a nightly version string
This commit is contained in:
		
							parent
							
								
									90d1d91423
								
							
						
					
					
						commit
						9f3a09a765
					
				| @ -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'; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user