Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Installing node-waf. Closes #5

  • Loading branch information...
commit 6c494fec0cd87ad4e6a41a504c315447a261941b 1 parent cc0e877
@tj authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  bin/n
View
3  bin/n
@@ -122,12 +122,13 @@ install_node() {
# remove "v"
version=${version#v}
- # installed
+ # activate
local dir=$VERSIONS_DIR/$version
if test -d $dir; then
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
# install
else
cd $N_PREFIX/n \

3 comments on commit 6c494fe

@davglass

This checkin is bad. You forgot the \

It should be:
&& 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

@tj
Owner

FUCK hahaha

@tj
Owner

good catch haha, thats what i get for not testing

Please sign in to comment.
Something went wrong with that request. Please try again.