Fix wrong command for detecting Node.js version to build correct native addon version for WebChimera.js.

pull/5/head
Icedream 2015-11-02 10:25:49 +01:00
parent d50400a1dd
commit 32608dcc97
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ wget https://github.com/icedream/ts3bot-control/archive/${TS3BOT_COMMIT}.tar.gz
tar xzv
mv ts3bot-control* ts3bot
(cd ts3bot && \
npm_config_wcjs_runtime="node" npm_config_wcjs_runtime_version="$(nodejs --version | tr -d 'v')" \
npm_config_wcjs_runtime="node" npm_config_wcjs_runtime_version="$(node --version | tr -d 'v')" \
npm install)
# Install youtube-dl (actually done by npm already in a non-system-wide way)