Fix font-lock in bin/lein
This commit is contained in:
parent
c7cedb7db8
commit
4c19f1ee27
1 changed files with 2 additions and 2 deletions
4
bin/lein
4
bin/lein
|
@ -172,7 +172,7 @@ export JAVA_CMD="${JAVA_CMD:-"java"}"
|
|||
export LEIN_JAVA_CMD="${LEIN_JAVA_CMD:-$JAVA_CMD}"
|
||||
|
||||
if [[ "$(basename "$LEIN_JAVA_CMD")" == *drip* ]]; then
|
||||
export DRIP_INIT="$(printf -- "-e\n(require 'leiningen.repl)")"
|
||||
export DRIP_INIT="$(printf -- '-e\n(require (quote leiningen.repl))')"
|
||||
fi
|
||||
|
||||
# Support $JAVA_OPTS for backwards-compatibility.
|
||||
|
@ -216,7 +216,7 @@ elif [ "$1" = "upgrade" ]; then
|
|||
echo "You do not have permission to upgrade the installation in $SCRIPT"
|
||||
exit 1
|
||||
else
|
||||
TARGET_VERSION="${2:-"preview"}"
|
||||
TARGET_VERSION="${2:-'preview'}"
|
||||
echo "The script at $SCRIPT will be upgraded to the latest $TARGET_VERSION version."
|
||||
echo -n "Do you want to continue [Y/n]? "
|
||||
read RESP
|
||||
|
|
Loading…
Reference in a new issue