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

Commits:

1 changed file:

Changes:

  • tools/signing/upload-update_responses-to-staticiforme
    ... ... @@ -8,15 +8,12 @@ check_torbrowser_version_var
    8 8
     
    
    9 9
     update_responses_tar_filename="update-responses-$tbb_version_type-$tbb_version.tar"
    
    10 10
     update_responses_tar="$script_dir/../../$SIGNING_PROJECTNAME/$tbb_version_type/update-responses/$update_responses_tar_filename"
    
    11
    -if test -f "$update_responses_tar"
    
    12
    -then
    
    13
    -  echo "$update_responses_tar_filename already exists: not running 'make $SIGNING_PROJECTNAME-update_responses-$tbb_version_type'"
    
    14
    -else
    
    15
    -  echo "Running 'make $SIGNING_PROJECTNAME-update_responses-$tbb_version_type'"
    
    16
    -  pushd "$script_dir/../.." > /dev/null
    
    17
    -  make $SIGNING_PROJECTNAME-update_responses-$tbb_version_type
    
    18
    -  popd > /dev/null
    
    19
    -fi
    
    11
    +test -f "$update_responses_tar" && \
    
    12
    +  echo "warning: $update_responses_tar_filename already exists. It will be re-generated."
    
    13
    +echo "Running 'make $SIGNING_PROJECTNAME-update_responses-$tbb_version_type'"
    
    14
    +pushd "$script_dir/../.." > /dev/null
    
    15
    +make $SIGNING_PROJECTNAME-update_responses-$tbb_version_type
    
    16
    +popd > /dev/null
    
    20 17
     
    
    21 18
     cd $update_responses_repository_dir
    
    22 19
     git checkout main