diff --git a/tools/generate_di_list b/tools/generate_di_list index 7a540110..0ba510b1 100755 --- a/tools/generate_di_list +++ b/tools/generate_di_list @@ -18,7 +18,10 @@ if ( $ENV{ARCHES} ) { } @ARCHES = qw{i386 amd64} unless @ARCHES; -@VARIANTS = split(" ", $ENV{VARIANTS}); +my @VARIANTS; +if ( $ENV{VARIANTS} ) { + @VARIANTS = split(" ", $ENV{VARIANTS}); +} my $DATE=`date`; chomp $DATE;