fix perl errors when is not in the environment
This commit is contained in:
parent
55f8fdac36
commit
cdfeaa7eea
|
@ -18,7 +18,10 @@ if ( $ENV{ARCHES} ) {
|
|||
}
|
||||
@ARCHES = qw{i386 amd64} unless @ARCHES;
|
||||
|
||||
my @VARIANTS;
|
||||
if ( $ENV{VARIANTS} ) {
|
||||
@VARIANTS = split(" ", $ENV{VARIANTS});
|
||||
}
|
||||
|
||||
my $DATE=`date`;
|
||||
chomp $DATE;
|
||||
|
|
Loading…
Reference in New Issue