Merge pull request #408 from tobias/master

Allow lein to run when called with no tasks and no .lein-classpath
This commit is contained in:
Phil Hagelberg 2012-02-22 10:48:31 -08:00
commit c34a3175a8

View file

@ -91,7 +91,7 @@ if [ -r "$BIN_DIR/../src/leiningen/version.clj" ]; then
# Use bin/lein to calculate its own classpath since src/ and
# leiningen-core/lib/*jar suffices to run the classpath task.
if [ ! -r "$LEIN_DIR/.lein-classpath" ] && [ $1 != "classpath" ]; then
if [ ! -r "$LEIN_DIR/.lein-classpath" ] && [ "$1" != "classpath" ]; then
echo "Recalculating Leiningen's classpath."
ORIG_PWD="$PWD"
cd "$LEIN_DIR"