support both "node" and "nodejs" as nodejs executables #102

Merged
merged 1 commit into from Mar 16, 2013

Projects

None yet

3 participants

@rdewaele

Nowadays, Debian comes with 'nodejs' instead of 'node' as nodejs executable. When compiling an opa project, the .exe file will incorrectly assume that nodejs is some executable called 'node'.

The changes in the configure script enable compiling opa itself on systems where nodejs is called 'nodejs'.
The changes in launch_helper.sh enable projects to run out of the box from the .exe opa creates on systems where nodejs is called 'nodejs'.

@ogunden

Worth noting that the version of node shipped with debian is also really old.. 0.6 last time I checked. That might be reason to use a different source for your node instead of standard debian packages.

@Aqua-Ye Aqua-Ye merged commit c50133c into MLstate:master Mar 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment