Skip to content
Snippets Groups Projects
Commit 0f8b5ac0 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Changed warning/error messages in plumed patch

An MD engine could have no patch, and do everything with scripting
parent 8b190bc0
No related branches found
No related tags found
No related merge requests found
......@@ -225,7 +225,7 @@ case "$action" in
fi
PREPLUMED=$(find . -name "*.preplumed" | sort)
if ! test "$PREPLUMED" ; then
echo "ERROR: I cannot find any .preplumed file. You have likely not patched yet."
echo "ERROR: I cannot find any .preplumed file. There is nothing to save."
exit
fi
if type -t plumed_preliminary_test 1>/dev/null ; then
......@@ -278,7 +278,7 @@ EOF
fi
PREPLUMED=$(find . -name "*.preplumed")
if ! test "$PREPLUMED" ; then
echo "WARNING: I cannot find any .preplumed file. You have likely not patched yet."
echo "No .preplumed file found, nothing to restore."
else
echo "Reverting changes and touching reverted files"
for bckfile in $PREPLUMED ; do
......
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