fix for perl 5.10 and 5.8

This commit is contained in:
DutchProgrammer 2016-03-24 23:41:30 +01:00
parent 774dbd8914
commit 2d4afc2e82

View file

@ -461,10 +461,7 @@ sub update_tuner_version {
my $receivedScripts = 0;
my $httpcli =`which curl`;
#foreach my $scriptKey (%{@scripts}) {
for my $scriptKey (0 .. $#scripts) {
my $script = $scripts[$scriptKey];
foreach my $script (@scripts) {
chomp($httpcli);
if ( 1 != 1 and defined($httpcli) and -e "$httpcli" ) {