Don't join/split args on spaces in load command as that breaks things like

using quotes to have multi-word tokens; shellwords takes care of this stuff


git-svn-id: file:///home/svn/framework3/trunk@6222 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
kris
2009-02-15 02:48:25 +00:00
parent 9a6025aacc
commit cd9ad0f08d
@@ -504,7 +504,7 @@ class Core
}
# Parse any extra options that should be passed to the plugin
args.join(' ').split(/\s+/).each { |opt|
args.each { |opt|
k, v = opt.split(/=/)
opts[k] = v if (k and v)