Skip to content
Snippets Groups Projects
Commit d9252f53 authored by Oriol Tintó Prims's avatar Oriol Tintó Prims
Browse files

Fix conversion from python list to bash array.

parent 188614b9
No related branches found
No related tags found
1 merge request!2Split prepare_rundir.sh into three different stages for the whole experiment,...
......@@ -56,7 +56,7 @@ ln -sf $(which python3) ${WORKDIR}/python3
requirements="%python_environment.requirements%"
# Convert list with python format to a bash array
requirements=($( echo ${requirements} | tr -d '[],'))
requirements=($( echo ${requirements} | sed "s/'//g" | tr -d '[],'))
# Install requirements.
for requirement in ${requirements[@]} ; 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