morgan pushed to branch main at The Tor Project / Applications / tor-browser-build

Commits:

1 changed file:

Changes:

  • tools/update-responses/update_responses
    ... ... @@ -261,11 +261,11 @@ sub create_incremental_mar {
    261 261
                     && ! -f "$tmpdir/A/Contents/_CodeSignature/CodeResources") {
    
    262 262
             exit_error "Missing code signature in $from_version while creating $mar_file";
    
    263 263
         }
    
    264
    +    # Check that the version we update to is code signed (when re-generating
    
    265
    +    # incrementals for macos during the signing process)
    
    264 266
         if ($ENV{CHECK_CODESIGNATURE_EXISTS}) {
    
    265
    -        unless (-f "$tmpdir/A/Contents/_CodeSignature/CodeResources"
    
    266
    -            && -f "$tmpdir/B/Contents/_CodeSignature/CodeResources") {
    
    267
    -            exit_error "Missing code signature while creating $mar_file";
    
    268
    -        }
    
    267
    +        exit_error "Missing code signature while creating $mar_file"
    
    268
    +            unless -f "$tmpdir/B/Contents/_CodeSignature/CodeResources";
    
    269 269
         }
    
    270 270
         local $ENV{MOZ_PRODUCT_VERSION} = $new_version;
    
    271 271
         local $ENV{MAR_CHANNEL_ID} = get_config($config, $new_version, $os, 'mar_channel_id');