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:
parent
1927720473
commit
ea037bfc50
4
bin/n
4
bin/n
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user