]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
scripts: Fix Appveyor job detection in cijobs.pl
authorDan Fandrich <dan@coneharvesters.com>
Wed, 25 Jan 2023 23:30:59 +0000 (15:30 -0800)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 25 Jan 2023 23:31:45 +0000 (15:31 -0800)
The reorganization in #9769 broke the script. This should probably be
rewritten to use a YAML parser for better upward compatibility.

scripts/cijobs.pl

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