heroku/heroku-buildpack-clojure — pull request #35 by seabre (2014-09-21 09:25:51+00:00)
Title: PATH not being set correctly in clojure.sh in profile.d

The `$` in `$PATH` wasn't being escaped in `export PATH`. This is causing issues when using with other buildpacks via heroku-buildpack-multi that need to add on to the PATH environment variable.

What clojure.sh looks like **with** the fix:
```bash
export JVM_OPTS="${JVM_OPTS:--Xmx400m -Dfile.encoding=UTF-8}"
export LEIN_NO_DEV="${LEIN_NO_DEV:-yes}"
export PATH="$HOME/.jdk/bin:$PATH:$HOME/.lein/bin"
```

What clojure.sh looks like **without** the fix:
```bash
export JVM_OPTS="${JVM_OPTS:--Xmx400m -Dfile.encoding=UTF-8}"
export LEIN_NO_DEV="${LEIN_NO_DEV:-yes}"
export PATH="$HOME/.jdk/bin:/app/.jdk/bin:/tmp/build_2307d86b-2ac8-44dc-8bb0-53c63d58aece/.jdk//bin::/tmp/codon/vendor/bin:/app/bin:/usr/ruby1.9.2/bin:/usr/local/bin:/usr
/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/.lein/bin"
```