Skip to content

Commit

Permalink
fix extraJavaOptions split
Browse files Browse the repository at this point in the history
  • Loading branch information
witgo committed Apr 25, 2014
1 parent f7c0ab7 commit 1185605
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ object CommandUtils extends Logging {
// Note, this will coalesce multiple options into a single command component
val extraOpts = command.extraJavaOptions match {
case Some(opts) =>
opts.split(" ").toSeq
opts.split("\\s+").toSeq
case _ =>
Seq()
}
Expand Down

0 comments on commit 1185605

Please sign in to comment.