Skip to content

Commit

Permalink
Revert "Enabled correct quoting, editor support in rlwrap"
Browse files Browse the repository at this point in the history
This reverts commit e79ba66.
Enabled correct quoting, editor support in rlwrap

Surrounded the $@ with double quotes to prevent arguments with
spaces (even quoted ones) from being broken appart into multiple args.
  • Loading branch information
technomancy committed Apr 10, 2011
1 parent 651ff4f commit 7ff39e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/lein
Expand Up @@ -176,8 +176,7 @@ else
# doesn't exist everything will still work, it will just have a
# slower JVM boot.
test $CYGWIN_JLINE && stty -icanon min 1 -echo
exec $RLWRAP -m -q '"' \
$JAVA_CMD -Xbootclasspath/a:"$CLOJURE_JAR" -client $JVM_OPTS \
exec $RLWRAP $JAVA_CMD -Xbootclasspath/a:"$CLOJURE_JAR" -client $JVM_OPTS \
-Dleiningen.original.pwd="$ORIGINAL_PWD" \
-cp "$CLASSPATH" $JLINE clojure.main -e "(use 'leiningen.core)(-main)" \
$NULL_DEVICE "$@"
Expand Down

0 comments on commit 7ff39e5

Please sign in to comment.