0
0
mirror of https://github.com/tj/n.git synced 2024-11-29 05:42:48 +01:00

Prior to 0.8.6 did not include binaries

This commit is contained in:
Matt Robenolt 2013-01-19 19:50:24 -08:00
parent ab9b4c4103
commit 0634fde4a5

2
bin/n
View File

@ -369,6 +369,8 @@ display_remote_versions() {
local versions=""
versions=`$GET 2> /dev/null http://nodejs.org/dist/ \
| egrep -o '[0-9]+\.[0-9]+\.[0-9]+' \
| egrep -v '^0\.[0-7]\.' \
| egrep -v '^0\.8\.[0-5]$' \
| sort -u -k 1,1n -k 2,2n -k 3,3n -t . \
| awk '{ print " " $1 }'`