Merge remote-tracking branch 'Licenser/patch-1' into 1.x

This commit is contained in:
Phil Hagelberg 2011-11-08 15:26:06 -08:00
commit e61ec8c1d0

View file

@ -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)"