summaryrefslogtreecommitdiffstats
path: root/download-sandstorm-node.sh
diff options
context:
space:
mode:
Diffstat (limited to 'download-sandstorm-node.sh')
-rwxr-xr-xdownload-sandstorm-node.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/download-sandstorm-node.sh b/download-sandstorm-node.sh
index 2e611f05..ec2b9394 100755
--- a/download-sandstorm-node.sh
+++ b/download-sandstorm-node.sh
@@ -27,6 +27,7 @@ SIGNING_KEY_ID=160D2D577518B58D94C9800B63F227499DA8CCBD
TARBALL=sandstorm-$SANDSTORM_LAST_BUILD.tar.xz
NODE_EXE=sandstorm-$SANDSTORM_LAST_BUILD/bin/node
+NPM_EXE=sandstorm-$SANDSTORM_LAST_BUILD/bin/npm
echo "=== DOWNLOADING SANDSTORM GPG KEYS TO VERIFY SANDSTORM RELEASE ==="
@@ -60,7 +61,7 @@ fi
echo "=== EXTRACTING NODE FROM SANDSTORM RELEASE TARBALL ==="
# --strip 2 removes path of 2 subdirectories
-tar -xf $TARBALL $NODE_EXE --strip=2
+tar -xf $TARBALL $NODE_EXE $NPM_EXE --strip=2
echo "=== REMOVING SANDSTORM RELEASE TARBALL AND SIGNATURE ==="
rm $TARBALL $TARBALL.sig release-certificate.kentonv.si*