biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change name of gmxdump to dump and gmxcheck to check
[alexxy/gromacs.git]
/
src
/
gromacs
/
commandline
/
cmdlinemodulemanager.cpp
diff --git
a/src/gromacs/commandline/cmdlinemodulemanager.cpp
b/src/gromacs/commandline/cmdlinemodulemanager.cpp
index 00e27f7d60e95b40234f5b28e360ce3635c38268..9bd8c3b57f3ff09289cbb0ff6e334474188b382a 100644
(file)
--- a/
src/gromacs/commandline/cmdlinemodulemanager.cpp
+++ b/
src/gromacs/commandline/cmdlinemodulemanager.cpp
@@
-662,6
+662,10
@@
CommandLineModuleManager::Impl::findModuleFromBinaryName(
{
binaryName.erase(0, 2);
}
+ if (binaryName.compare(0, 3, "gmx") == 0)
+ {
+ binaryName.erase(0, 3);
+ }
return findModuleByName(binaryName);
}