Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build

Commits:

1 changed file:

Changes:

  • projects/browser/build
    ... ... @@ -341,14 +341,14 @@ fi
    341 341
     [% END -%]
    
    342 342
     
    
    343 343
     [%IF c("var/tor-browser") -%]
    
    344
    -  tor_expert_bundle_src="[% c("input_files_by_name/tor-expert-bundle") %]"
    
    345
    -  # strip off trailing "$buildid.tar.gz"
    
    346
    -  tor_expert_bundle_dest=${tor_expert_bundle_src:0:-7}.tar.gz
    
    344
    +  tor_expert_bundle_src="[% c('input_files_by_name/tor-expert-bundle') %]"
    
    345
    +  # strip off trailing "$buildid.tar.gz" and add the version instead
    
    346
    +  tor_expert_bundle_dest=${tor_expert_bundle_src:0:-7}-[% c('version') %].tar.gz
    
    347 347
       cp $rootdir/[% c("input_files_by_name/tor-expert-bundle") %]/tor-expert-bundle.tar.gz "$OUTDIR"/$tor_expert_bundle_dest
    
    348 348
       [% IF c("var/macos_universal") %]
    
    349 349
         tor_expert_bundle_src="[% c('input_files_by_name/tor-expert-bundle-aarch64') %]"
    
    350 350
         # strip off trailing "$buildid.tar.gz"
    
    351
    -    tor_expert_bundle_dest=${tor_expert_bundle_src:0:-7}.tar.gz
    
    351
    +    tor_expert_bundle_dest=${tor_expert_bundle_src:0:-7}-[% c('version') %].tar.gz
    
    352 352
         cp $rootdir/[% c('input_files_by_name/tor-expert-bundle-aarch64') %]/tor-expert-bundle.tar.gz "$OUTDIR"/$tor_expert_bundle_dest
    
    353 353
       [% END -%]
    
    354 354
     [% END -%]