Browse Source

Remove warning in Build.PL

Alessandro Ranellucci 11 years ago
parent
commit
826e6c106d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Build.PL

+ 1 - 1
Build.PL

@@ -28,7 +28,7 @@ my %recommends = qw(
     Growl::GNTP                     0.15
     XML::SAX::ExpatXS               0
 );
-if ($ARGV[0] eq '--gui') {
+if (defined $ARGV[0] && $ARGV[0] eq '--gui') {
     %prereqs = qw(
     Wx                              0.9901
     );