Skip to content

Commit c0cc17d

Browse files
committed
Update node_setup.sh
fix source code path to newest
1 parent 1d33700 commit c0cc17d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node_setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if [ -f $NODE_TAR ]; then
4242
echo 'found'
4343
else
4444
echo "download $NODE_VERSION..."
45-
wget http://nodejs.org/dist/${NODE_TAR}
45+
wget http://nodejs.org/dist/v$1/${NODE_TAR}
4646
fi
4747

4848
tar -zxvf $NODE_TAR

0 commit comments

Comments
 (0)