Browse files

Fixed newer 0.5.x versions

the patch level commit I accepted messed this up
  • Loading branch information...
1 parent 1ec7f75 commit 0ac0914132dc4a1bd70031850b64c7ac15f6eb06 @tj committed Oct 11, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 bin/n
View
3 bin/n
@@ -148,8 +148,7 @@ install_node() {
# >= 0.5.x
local minor=$(echo $version | cut -d '.' -f 2)
- local patch=$(echo $version | cut -d '.' -f 3)
- test $minor = "5" && $patch != 0 && url="http://nodejs.org/dist/v$version/$tarball"
+ test $minor = "5" && url="http://nodejs.org/dist/v$version/$tarball"
# fetch and unpack
cd $N_PREFIX/n \

1 comment on commit 0ac0914

@rumpl

Just saw your commit, indeed, my patch did mess things up.
The test should have been : test $minor = "5" -a $patch != "0" && url="http://nodejs.org/dist/v$version/$tarball"

So sorry about that...

Please sign in to comment.