Skip to content

Commit

Permalink
Installing node-waf. Closes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jan 21, 2011
1 parent cc0e877 commit 6c494fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/n
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

3 comments on commit 6c494fe

@davglass
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Owner Author

@tj tj commented on 6c494fe Jan 21, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FUCK hahaha

@tj
Copy link
Owner Author

@tj tj commented on 6c494fe Jan 21, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch haha, thats what i get for not testing

Please sign in to comment.