Skip to content

Commit

Permalink
Fix problems with jvm-paths containing spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
josteink committed Dec 1, 2012
1 parent eed23b7 commit 10cda63
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 10cda63

Please sign in to comment.