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;
|
@ARCHES = qw{i386 amd64} unless @ARCHES;
|
||||||
|
|
||||||
@VARIANTS = split(" ", $ENV{VARIANTS});
|
my @VARIANTS;
|
||||||
|
if ( $ENV{VARIANTS} ) {
|
||||||
|
@VARIANTS = split(" ", $ENV{VARIANTS});
|
||||||
|
}
|
||||||
|
|
||||||
my $DATE=`date`;
|
my $DATE=`date`;
|
||||||
chomp $DATE;
|
chomp $DATE;
|
||||||
|
|
Loading…
Reference in New Issue