mirror of
https://github.com/tj/n.git
synced 2024-11-25 15:49:24 +01:00
merge
This commit is contained in:
commit
0d5e1eff11
6
bin/n
6
bin/n
@ -141,9 +141,9 @@ install_node() {
|
||||
# TODO: refactor, this is lame
|
||||
cd $dir \
|
||||
&& mkdir -p $N_PREFIX/lib/node \
|
||||
&& cp -fr $dir/include/node $N_PREFIX/include \
|
||||
&& cp -f $dir/bin/* $N_PREFIX/bin \
|
||||
&& cp -fr $dir/lib/node/* $N_PREFIX/lib/node/
|
||||
&& cp -fR $dir/include/node $N_PREFIX/include \
|
||||
&& cp -fR $dir/bin/* $N_PREFIX/bin \
|
||||
&& cp -fR $dir/lib/node/* $N_PREFIX/lib/node/ .
|
||||
# install
|
||||
else
|
||||
local tarball="node-v$version.tar.gz"
|
||||
|
Loading…
Reference in New Issue
Block a user