Hacker News new | ask | show | jobs
by igouy 3126 days ago

    $ which kotlinc
    /opt/src/kotlin-1.2.0/bin/kotlinc

    $ kotlinc
    /usr/bin/env: ‘bash\r’: No such file or directory
Seems to have been saved with MS Win line ends, which causes a problem with bash on Ubuntu.
2 comments

Do you have to use bash to run it? Seems like that should have used sh to get the biggest install base (Groovy does this).
Yes, we have an issue in our issue tracker for that already; will fix in the next update. Sorry!