Skip to content
Snippets Groups Projects
Commit e1f9b1ed authored by Carlo Camilloni's avatar Carlo Camilloni
Browse files

patches: fixed grep

parent 98ffecbf
No related branches found
No related tags found
No related merge requests found
......@@ -259,7 +259,7 @@ case "$action" in
fi
echo ""
if grep -q $PLUMED_ROOT/src/config/compile_options.sh "-D__PLUMED_MPI=1"; then
if grep -q "D__PLUMED_MPI=1" $PLUMED_ROOT/src/config/compile_options.sh ; then
echo "PLUMED is compiled with MPI support so you can configure $engine with MPI"
else
echo "PLUMED is compiled WITHOUT MPI support so you CANNOT configure $engine with MPI"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment