0
0
mirror of https://github.com/tj/n.git synced 2024-11-25 15:49:24 +01:00
This commit is contained in:
TJ Holowaychuk 2012-07-13 14:43:10 -07:00
commit 0d5e1eff11

6
bin/n
View File

@ -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"