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:
commit
c34a3175a8
1 changed files with 1 additions and 1 deletions
2
bin/lein
2
bin/lein
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue