rtrouton/rtrouton_scripts — pull request #5 by rmanly (2013-04-08 20:15:43+00:00)
Title: change to bash and use [[ vs [ - see extended

If someone has used Greg Neagle's suggestion and deleted the JavaWebComponentVersionMinimum entry from XProtect.meta.plist the above code will result in errors when XPROTECT_JAVA_6_BUILD is empty.

I have documented the behavior in [this commit][1] to my own rewrite of the above code. It was the one instance of [ that I overlooked. :(

[1]: https://github.com/rmanly/xprotect_flash_java_fixer/commit/56a5f8e7d18994ab1340246594f0df965e6b35e9