Fix font-lock in bin/lein

This commit is contained in:
Phil Hagelberg 2012-11-08 09:36:54 -08:00
parent c7cedb7db8
commit 4c19f1ee27

View file

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