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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user