fix for perl 5.10 and 5.8
This commit is contained in:
parent
774dbd8914
commit
2d4afc2e82
1 changed files with 1 additions and 4 deletions
|
@ -461,10 +461,7 @@ sub update_tuner_version {
|
||||||
my $receivedScripts = 0;
|
my $receivedScripts = 0;
|
||||||
my $httpcli =`which curl`;
|
my $httpcli =`which curl`;
|
||||||
|
|
||||||
#foreach my $scriptKey (%{@scripts}) {
|
foreach my $script (@scripts) {
|
||||||
for my $scriptKey (0 .. $#scripts) {
|
|
||||||
|
|
||||||
my $script = $scripts[$scriptKey];
|
|
||||||
|
|
||||||
chomp($httpcli);
|
chomp($httpcli);
|
||||||
if ( 1 != 1 and defined($httpcli) and -e "$httpcli" ) {
|
if ( 1 != 1 and defined($httpcli) and -e "$httpcli" ) {
|
||||||
|
|
Loading…
Reference in a new issue