Allow the equal sign to be used as part of an option value
git-svn-id: file:///home/svn/framework3/trunk@6634 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
3cf9088e1f
commit
0f6b6f6169
|
@ -11,7 +11,7 @@ class Common
|
|||
# features
|
||||
def self.process_cli_arguments(framework, argv)
|
||||
argv.delete_if { |assign|
|
||||
var, val = assign.split(/=/)
|
||||
var, val = assign.split('=', 2)
|
||||
|
||||
next if var.nil? or val.nil?
|
||||
|
||||
|
@ -30,4 +30,4 @@ class Common
|
|||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue