neurocyte/foreign-jni — pull request #2 by coonsta (2013-07-16 11:43:56+00:00)
Title: Use string substitution and shell redirection that works with dash.

Despite the shebang line, this script is invoked by cabal using sh. The default shell on Ubuntu, dash, does not understand bash-isms like ${p:n:m}.