Permalink
Browse files

Installing node-waf. Closes #5

  • Loading branch information...
1 parent cc0e877 commit 6c494fec0cd87ad4e6a41a504c315447a261941b @tj committed Jan 21, 2011
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

Contributor

davglass replied Jan 21, 2011

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

Owner

tj replied Jan 21, 2011

FUCK hahaha

Owner

tj replied Jan 21, 2011

good catch haha, thats what i get for not testing

Please sign in to comment.