scripts: Fix Appveyor job detection in cijobs.pl

The reorganization in #9769 broke the script. This should probably be
rewritten to use a YAML parser for better upward compatibility.
This commit is contained in:
Dan Fandrich 2023-01-25 15:30:59 -08:00
parent 54189d8b81
commit 8dceb7bfcd

View File

@ -237,7 +237,7 @@ sub appveyor {
} }
} }
$job{'line'} = $line; $job{'line'} = $line;
if($_ =~ /^ - APPVEYOR_BUILD_WORKER_IMAGE: \"(.*)\"/) { if($_ =~ /^ APPVEYOR_BUILD_WORKER_IMAGE: \"(.*)\"/) {
$job{'image'}= $1; $job{'image'}= $1;
} }
elsif($_ =~ /^ BUILD_SYSTEM: (.*)/) { elsif($_ =~ /^ BUILD_SYSTEM: (.*)/) {