schambers/fluentmigrator — pull request #294 by mcobrien (2012-08-22 09:53:18+00:00)
Title: Fix exception when running a script on another drive

Hi there,

I noticed a small bug when running a large SQL script that I decompressed to my temp folder. I keep my code on another drive and FluentMigrator tried to run it as "K:\code\C:\temp\script.sql".

This commit changes ExecuteSqlScriptExpression so it uses Path.Combine instead of string.Format to combine the current working directory. This avoids the problem since Path.Combine notices its second argument is rooted.

Btw, I love this project - thanks for all your hard work!