richard pushed to branch maint-13.0 at The Tor Project / Applications / tor-browser-build

Commits:

1 changed file:

Changes:

  • projects/release/build
    ... ... @@ -42,12 +42,18 @@ mkdir -p "$destdir"
    42 42
           "$destdir"/
    
    43 43
     [% END -%]
    
    44 44
     cd "$destdir"
    
    45
    -cat > .htaccess <<EOF
    
    45
    +cat > .htaccess <<'EOF'
    
    46 46
     RewriteEngine On
    
    47 47
     RewriteRule ^sha256sums.txt$ sha256sums-unsigned-build.txt
    
    48 48
     RewriteRule ^sha256sums.txt.asc$ sha256sums-unsigned-build.txt.asc
    
    49 49
     RewriteRule ^sha256sums.incrementals.txt$ sha256sums-unsigned-build.incrementals.txt
    
    50 50
     RewriteRule ^sha256sums.incrementals.txt.asc$ sha256sums-unsigned-build.incrementals.txt.asc
    
    51
    +[% IF c("var/tor-browser") -%]
    
    52
    +RewriteRule ^tor-browser-linux64-(.*)_ALL.tar.xz.asc$ tor-browser-linux-x86_64-$1.tar.xz.asc
    
    53
    +RewriteRule ^tor-browser-linux64-(.*)_ALL.tar.xz$ tor-browser-linux-x86_64-$1.tar.xz
    
    54
    +RewriteRule ^tor-browser-linux32-(.*)_ALL.tar.xz.asc$ tor-browser-linux-i686-$1.tar.xz.asc
    
    55
    +RewriteRule ^tor-browser-linux32-(.*)_ALL.tar.xz$ tor-browser-linux-i686-$1.tar.xz
    
    56
    +[% END -%]
    
    51 57
     EOF
    
    52 58
     
    
    53 59
     # empty any existing sh256sums file