Minor modification so the replacement list doesn't try to replace non-files inside single-quotes should the text contained in single-quotes be that of a directory name.
Example: "<span class='game'>" was becoming "<span class='code/game'>"
All credits go to thvortex of ss13-daedalus branch.
Signed-off-by: Carn <elly1989@rocketmail.com>
All credits to the author for this handy little script.
I Committed the modified python script to tool directory. Although it needs to be in the root folder of your repo to work.
To notice the improved compile times, in dreammaker go to Build > Preferences > and untick "automatically set file_dir for subfolders"
If this commit inteferes with any large projects just revert it, do your thing, then rerun the script. Easy-peasy.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4488 316c924e-a436-60f5-8080-3fe189b3f50e