summaryrefslogtreecommitdiffstats
path: root/download-sandstorm-node.sh
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-07-02 19:38:49 +0300
committerLauri Ojansivu <x@xet7.org>2018-07-02 19:38:49 +0300
commit1f7db171d94af97187ac22ae07f3cad2b11d7ae1 (patch)
treec3eb684c117a63690f940b12d7abf58910f5da2d /download-sandstorm-node.sh
parentbf06c715fe41b1689f451c1ae1112a06b377768f (diff)
downloadwekan-1f7db171d94af97187ac22ae07f3cad2b11d7ae1.tar.gz
wekan-1f7db171d94af97187ac22ae07f3cad2b11d7ae1.tar.bz2
wekan-1f7db171d94af97187ac22ae07f3cad2b11d7ae1.zip
Try to fix Dockerfile.
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*