diff --git a/config/milestone.pl b/config/milestone.pl index fa9837ffdd06..63598cf9c954 100755 --- a/config/milestone.pl +++ b/config/milestone.pl @@ -55,7 +55,7 @@ $MILESTONE_FILE = "$TOPSRCDIR/config/milestone.txt"; # my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE); -if (defined(@TEMPLATE_FILE)) { +if (@TEMPLATE_FILE) { my $TFILE; foreach $TFILE (@TEMPLATE_FILE) { diff --git a/js/src/config/milestone.pl b/js/src/config/milestone.pl index fa9837ffdd06..63598cf9c954 100644 --- a/js/src/config/milestone.pl +++ b/js/src/config/milestone.pl @@ -55,7 +55,7 @@ $MILESTONE_FILE = "$TOPSRCDIR/config/milestone.txt"; # my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE); -if (defined(@TEMPLATE_FILE)) { +if (@TEMPLATE_FILE) { my $TFILE; foreach $TFILE (@TEMPLATE_FILE) {