Don't search installation prefix if binary is not found
authorRoland Schulz <roland@utk.edu>
Wed, 18 Feb 2015 05:50:21 +0000 (00:50 -0500)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Mon, 2 Mar 2015 13:10:12 +0000 (14:10 +0100)
commit3866353a3cceb387eed227083ac5b7942b6cfbc2
tree20ea94efd55cb9bf91c3024372b93666905f4431
parent180b22705984906ee59dceaddaae1225f2227146
Don't search installation prefix if binary is not found

It is possible that the binary isn't accessible (e.g. Cray launcher) and it
is not valid to call isEquivalent if the path is invalid.

Change-Id: Idf82a8c951fdc91a2de15d310843d54961ba74eb
src/gromacs/commandline/cmdlineprogramcontext.cpp