Skip to content
Snippets Groups Projects
Commit 6cd0033b authored by Ralf Mueller's avatar Ralf Mueller
Browse files

allow command strings with comma for rake

parent fd3419ec
No related branches found
No related tags found
No related merge requests found
......@@ -206,9 +206,10 @@ def builder2task(builder,useHostAsName=false,syncSource=true)
end
@_help[:cmd] = "execute command within the target build dir, e.g. rake localGCC_cmd['pwd']" unless @_help.has_key?(:cmd)
task toDo[:cmd] ,:cmd do |t, args|
task toDo[:cmd] ,:cmd,:a,:b,:c,:d do |t, args|
warn "No command given!!" && exit(1) if args.cmd.nil?
execute(args.cmd,builder)
cmd = args.to_hash.values.join(',')
execute(cmd,builder)
end
@_help[:mods] = "get the auto loaded modules on the target machine"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment