0
0
mirror of https://github.com/tj/n.git synced 2024-11-28 21:22:03 +01:00

Fixed wafadmin issue, installing lib/node/*. Closes #7

This commit is contained in:
Tj Holowaychuk 2011-01-21 16:55:16 -08:00
parent 1927720473
commit ea037bfc50

4
bin/n
View File

@ -127,10 +127,12 @@ install_node() {
# activate
local dir=$VERSIONS_DIR/$version
if test -d $dir; then
# TODO: refactor, this is lame
cd $dir \
&& cp -fr $dir/include/node $PREFIX/include \
&& cp -f $dir/bin/node $PREFIX/bin/node \
&& cp -f $dir/bin/node-waf $PREFIX/bin/node-waf
&& cp -f $dir/bin/node-waf $PREFIX/bin/node-waf \
&& cp -fr $dir/lib/node/* $PREFIX/lib/node
# install
else
cd $N_PREFIX/n \