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

Fixed what script

It now takes paths into account correctly
parent 07552b60
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
if test -n "$PLUMED_PREPEND_PATH" ; then
PATH="$PLUMED_PREPEND_PATH:$PATH"
fi
plumed="${PLUMED_PROGRAM_NAME:-plumed}"
for action in $(
cat $(plumed info --root)/src/*/*.cpp | grep PLUMED_REGISTER_ACTION |
cat $($plumed --no-mpi info --root)/src/*/*.cpp | grep PLUMED_REGISTER_ACTION |
sed -e 's/,/ /g
s/(/ /g
s/)/ /g' | awk '{print $3}' | sed -e 's/\([\"]\)//g'
......
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