technomancy/leiningen — pull request #874 by arohner (2012-12-02 03:00:59+00:00)
Title: export $SCRIPT as leiningen.script

Apologies, I've never made a PR for modifying the bash script, I'm not sure what the process is.

This exposes the path where lein started to the clojure code. That's useful in lein2 version of lein-daemon (https://github.com/arohner/lein-daemon/tree/lein2), because it calls lein again, as a background process, to fork.