Skip to content

Commit

Permalink
Merge pull request #589 from yglukhov/patch-1
Browse files Browse the repository at this point in the history
Update configfile.cpp
  • Loading branch information
redstar committed Mar 15, 2014
2 parents 6c5c8be + 6b3ad0a commit 637eb41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/configfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ bool ConfigFile::locate(llvm::SmallString<128> &p, const char* argv0, void* main
// temporary configuration

// try the current working dir
if (sys::fs::current_path(p))
if (!sys::fs::current_path(p))
{
sys::path::append(p, filename);
if (sys::fs::exists(p.str()))
Expand Down

0 comments on commit 637eb41

Please sign in to comment.