Skip to content

Commit

Permalink
local vendors priority
Browse files Browse the repository at this point in the history
  • Loading branch information
devktor committed Nov 22, 2016
1 parent c51df6f commit 231e3dc
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/process/EthProcessInitializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,18 @@ QString EthProcessInitializer::GetDefaultCommand()
return parityPath;
}

parityPath = GetVendorPath("parity");
if(FileExists(parityPath))
{
return parityPath;
}


QString gethPath = GetLocalVendorPath("geth");
if(FileExists(gethPath))
{
return gethPath;
}

parityPath = GetVendorPath("parity");
if(FileExists(parityPath))
{
return parityPath;
}

gethPath = GetVendorPath("geth");
if(FileExists(gethPath))
{
Expand Down

0 comments on commit 231e3dc

Please sign in to comment.