Skip to content

Commit

Permalink
Merge pull request ninjudd#45 from josteink/master
Browse files Browse the repository at this point in the history
Fix open issue ninjudd#39 with whitespace in JVM path.
  • Loading branch information
ninjudd committed Dec 1, 2012
2 parents 6fbc589 + 10cda63 commit 2460ab4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/drip
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ function find_jvm {
done

if [[ -z $active_jvm_dir ]]; then
exec $DRIP_JAVA_CMD "${jvm_args[@]}" "${runtime_args[@]}" \
"-classpath" "$classpath" \
"$main_class" "${main_args[@]}"
exec "$DRIP_JAVA_CMD" "${jvm_args[@]}" "${runtime_args[@]}" \
"-classpath" "$classpath" \
"$main_class" "${main_args[@]}"
fi
}

Expand Down Expand Up @@ -353,7 +353,7 @@ bootstrap
parse_args "$@"

if [[ -z $drip_command ]]; then
[[ -z $java_command ]] || exec $DRIP_JAVA_CMD $java_command
[[ -z $java_command ]] || exec "$DRIP_JAVA_CMD" $java_command
find_jvm
run_main

Expand Down

0 comments on commit 2460ab4

Please sign in to comment.