tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

repack-node.sh (416B)


      1 #!/bin/bash
      2 set -x -e -v
      3 
      4 # This script is for repacking Node (and NPM) from nodejs.org.
      5 
      6 mkdir -p "$UPLOAD_DIR"
      7 
      8 cd "$MOZ_FETCHES_DIR"
      9 
     10 # npx doesn't have great security characteristics (it downloads and executes
     11 # stuff directly out of npm at runtime), so let's not risk it getting into
     12 # anyone's PATH who doesn't already have it there:
     13 rm -f node/bin/npx node/bin/npx.exe
     14 tar caf "$UPLOAD_DIR"/node.tar.zst node