Support skipping bootclasspath.

This commit is contained in:
Phil Hagelberg 2017-03-31 15:03:00 -07:00
parent f7da0539b3
commit 151fbb256d

View file

@ -215,7 +215,9 @@ if [ -r "$BIN_DIR/../src/leiningen/version.clj" ]; then
else # Not running from a checkout
add_path CLASSPATH "$LEIN_JAR"
BOOTCLASSPATH="-Xbootclasspath/a:$LEIN_JAR"
if [ "$LEIN_SKIP_BOOTCLASSPATH" = "" ]; then
BOOTCLASSPATH="-Xbootclasspath/a:$LEIN_JAR"
fi
if [ ! -r "$LEIN_JAR" -a "$1" != "self-install" ]; then
self_install