Commit e7ab91c8 authored by Gaël Écorchard's avatar Gaël Écorchard
Browse files

[build_images] Fix piping and chaining

parent a6d7b925
......@@ -16,6 +16,6 @@ fi
for f in $files; do
sudo rm -f "${f}.simg"
sudo singularity build "${f}.simg" "${f}.txt" 2>&1 | tee "${f}.log" \
{sudo singularity build "${f}.simg" "${f}.txt" 2>&1 | tee "${f}.log"} \
&& sudo chown ${USER}:${USER} "${f}.simg"
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment