rejeep/carton — pull request #15 by lunaryorn (2013-02-03 10:42:36+00:00)
Title: Fix $CARTON_DIR

Resolve symlinks to find the directory, in order to get the correct directory if `carton` is symlinked to a different place.

Also replace $BASH_SOURCE with $0, as the former is according to the documentation only indented for use with functions.