Backed out changeset 2fc34d798e24 (bug 1917771) for causing failures at baseline...
[gecko.git] / taskcluster / scripts / misc / repack-node.sh
blobd3880e47992beb29423a71ff50171137f5dc58b9
1 #!/bin/bash
2 set -x -e -v
4 # This script is for repacking Node (and NPM) from nodejs.org.
6 mkdir -p "$UPLOAD_DIR"
8 cd "$MOZ_FETCHES_DIR"
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