package/nodejs: symlink /usr/lib/node_modules/.bin/* to /usr/bin
authorMartin Bark <martin@barkynet.com>
Thu, 2 Jul 2015 09:43:25 +0000 (10:43 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 4 Jul 2015 12:38:13 +0000 (14:38 +0200)
commit9aab65f304ed18ecb93d25de497e4f2fef75973d
tree806cbf80624a0e779420af2257179a7531dfc028
parent73f3b45e18a7b2a77c9ba97dbc2218bd68c0d52d
package/nodejs: symlink /usr/lib/node_modules/.bin/* to /usr/bin

This patch symlinks all executables in /usr/lib/node_modules/.bin
to /usr/bin so that node.js modules installed using
BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL are accessible from the command line.

Signed-off-by: Martin Bark <martin@barkynet.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/nodejs/nodejs.mk