Fixed a crasher. The cmd_file needs to be resolved before reading lines from it.

llvm-svn: 116948
This commit is contained in:
Johnny Chen 2010-10-20 21:40:50 +00:00
parent 320a553319
commit 1ee3853fc9
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public:
result.AppendMessageWithFormat ("Executing commands in '%s'.\n", filename);
FileSpec cmd_file (filename, false);
FileSpec cmd_file (filename, true);
if (cmd_file.Exists())
{
STLStringArray commands;