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

Commits:

1 changed file:

Changes:

  • projects/browser/build.android
    ... ... @@ -21,7 +21,15 @@ noscript_path="$ext_dir/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi"
    21 21
     
    
    22 22
     mkdir -p /var/tmp/build/$ext_dir [% dest_dir _ '/' _ c('filename') %]
    
    23 23
     cd /var/tmp/build
    
    24
    -mv $rootdir/[% c('input_files_by_name/noscript') %] "$noscript_path"
    
    24
    +
    
    25
    +mkdir noscript
    
    26
    +pushd noscript
    
    27
    +unzip $rootdir/[% c('input_files_by_name/noscript') %]
    
    28
    +[% c('zip', {
    
    29
    +    zip_src  => [ '.' ],
    
    30
    +    zip_args => '-0 ../$noscript_path',
    
    31
    +  }) %]
    
    32
    +popd
    
    25 33
     
    
    26 34
     [%IF c("var/tor-browser") -%]
    
    27 35
       tar -xaf "$rootdir/[% c("input_files_by_name/tor-expert-bundle") %]/tor-expert-bundle.tar.gz" tor/pluggable_transports/pt_config.json