setup.sh, npm test - Fix for debian.org's build of nodejs
authorTim Otten <totten@civicrm.org>
Wed, 4 Mar 2015 23:51:25 +0000 (15:51 -0800)
committerTim Otten <totten@civicrm.org>
Wed, 4 Mar 2015 23:57:23 +0000 (15:57 -0800)
commit0292a407182886aa33207af0b0f5d2a3176c0bb4
tree25053a73ac626d29a161847f46d517bc70c9767e
parentc148483e8b3e53123202d411b6635535b1b1b4d9
setup.sh, npm test - Fix for debian.org's build of nodejs

Debian renamed "node" to "nodejs" to avoid conflicts with another package.
One can resolve that by installing an extra package ("nodejs-legacy") or by
using the nodesource.com packages, but users may not know that.

https://lists.debian.org/debian-devel-announce/2012/07/msg00002.html

This commit uses whichever command is available.
bin/setup.sh
tools/scripts/npm/test.sh