Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use My::Utility qw(check_config_script check_prebuilt_binaries check_prereqs_lib

use Getopt::Long;
my ($ans, $travis) = '';
GetOptions ( "travis" => \$travis) ;
GetOptions("travis" => \$travis);

print "Welcome to Alien::SDL2 module installation\n";
print "------------------------------------------\n";
Expand Down Expand Up @@ -192,7 +192,7 @@ else {
}

# select option '1' for travis
if ($travis == 1) {
if (defined $travis && $travis == 1) {
$ans = 1;
#set 'travis' var for inc/My/Builder.pm
$build->notes( 'travis', '1' );
Expand Down