taylor / kiex

Elixir version manager
http://taylor.github.io/kiex/
MIT License
766 stars 65 forks source link

Errors when installing Elixir 0.12.0 #3

Closed sbellware closed 10 years ago

sbellware commented 10 years ago

There were some errors when I installed Elixir 0.12.0 with Elixir today. Here's the console output:

kiex install 0.12.0 readlink: illegal option -- f usage: readlink [-n] [file ...] usage: dirname path awk: can't open file /../releases/RELEASES source line number 1 /Users/scott/.kiex/bin/kiex: line 36: ((: > 16 : syntax error: operand expected (error token is "> 16 ") /Users/scott/.kiex/bin/kiex: line 38: ((: < 16 : syntax error: operand expected (error token is "< 16 ") /Users/scott/.kiex/bin/kiex: line 40: ((: == 16 : syntax error: operand expected (error token is "== 16 ") Cloning into 'elixir-git'... Checking connectivity... done Note: checking out 'v0.12.0'.

The install of Elixir seems to work fine.

taylor commented 10 years ago

My bad... this is an issue with gnu readlink vs bsd readlink.

I am working on a fix in the script logic to work on both platforms.

FYI, a quick fix is to install greadlink.

taylor commented 10 years ago

Fixed in code.

sbellware commented 10 years ago

Thanks!