heroku/heroku-buildpack-scala — pull request #9 by vcherkassky (2012-05-04 06:08:23+00:00)
Title: Fixed sbt version checking issue

Hi,

I have just fixed an issue with sbt version checking. The issue was that if project/build.properties contained anything - even empty line after sbt.version=0.11.2, validation failed. It was caused by wrong grep command - 'grep -v ' was used. It of course, matched anything extra in the file (even empty line) and caused an error, which explained nothing 'unsupported sbt version'.

I have performed tests for 4 cases - no file, RC version, wrong version, right version, right version with newline.