kumarshantanu/lein-exec — pull request #17 by Velrok (2014-07-28 12:42:29+00:00)
Title: adjusted bash scripts to send an absolute path to lein-exec, which fixes...

... an error where it would not find the file, if it was called from a sub directory of surrounding leiningen project

Hi kumarshantanu :) .

Thanks for this very useful tool.

I found myself getting `FileNotFound` errors when calling `lein-exec` from a subfolder.
Say I have a project and all my scripts are in a `scripts` subdirectory. If I try to run `lein-exec` from that sub directory it would not find the according script file.
That is probably due to the way [load-file](http://grimoire.arrdem.com/1.6.0/clojure.core/load_DASH_file/) works, which assumes all path to be relative to the JVM executing the `lein-exec`. Sadly the JVM executing the script has its root in the folder above.

I'm happy about any feedback.

I would be very happy if you could integrate some fix for this issue into the next release.

Cheers,
Waldemar