Merge remote-tracking branch 'Licenser/patch-1' into 1.x
This commit is contained in:
commit
e61ec8c1d0
1 changed files with 7 additions and 0 deletions
7
bin/lein
7
bin/lein
|
@ -33,9 +33,16 @@ do
|
|||
done
|
||||
|
||||
if [ "$LEIN_HOME" = "" ]; then
|
||||
if [ -d "$ORIGINAL_PWD/.lein" ]; then
|
||||
echo "Running in project mode."
|
||||
LEIN_HOME="$ORIGINAL_PWD/.lein"
|
||||
else
|
||||
LEIN_HOME="$HOME/.lein"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
DEV_PLUGINS="$(ls -1 lib/dev/*jar 2> /dev/null)"
|
||||
USER_PLUGINS="$(ls -1 "$LEIN_HOME"/plugins/*jar 2> /dev/null)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue