Just don't go the lazy way out and use compression fittings... makes me cringe just thinking of them in a brake system.
Metal brake lines are easily bent to the general shape you want(tight turns can be a little tricky and make a kink) I generally don't bother flaring off the existing line and just replace the whole line that blew out from start to finish. Brake line ain't that expensive, it's nice to work with new stuff, and you got the piece of mind it's all fresh line and not gonna blow out 3 inches from your repair in another 2 days. If you are gonna flare and piece in sections make sure to do double flares, nto single... this IS your brakes were talking here, they are a little bit important.