koush/Superuser — pull request #194 by tmzullinger (2013-11-06 18:02:11+00:00)
Title: Update version check to work with >= 4.3

Now that 4.4 is out, the check was failing and not properly setting up
the su daemon.

Using POSIX sh parameter substitution allows us to extract the major and
minor version numbers from ro.build.version.release in build.prop and
compare them.

This was tested on a Nexus 4 running 4.4.