comparison redelacSticsTool.bash @ 2:aa575691d6f0 draft

"planemo upload for repository https://forgemia.inra.fr/redelac commit 4176304bfa3f4beb3f49fb713b7dce81e93127f8"
author siwaa
date Thu, 08 Feb 2024 18:19:37 +0000
parents 7f8f474a7bd7
children e0d592bb516e
comparison
equal deleted inserted replaced
1:ed9c49c6c6e1 2:aa575691d6f0
35 cat ./bashlog && 35 cat ./bashlog &&
36 echo "================================" && 36 echo "================================" &&
37 cp analyse_simulations_STICS.zip ${16} && 37 cp analyse_simulations_STICS.zip ${16} &&
38 rm -rf analyse_simulations_STICS && 38 rm -rf analyse_simulations_STICS &&
39 cd .. && 39 cd .. &&
40 (if [ "${14}" != "no" ]; 40 (if [ "${14}" != "yes" ];
41 then 41 then
42 (cd WS && ls | grep -e '^[0-9]*\.[0-9]*$' | xargs -i rm {}) && 42 (cd WS && ls | grep -e '^[0-9]*\.[0-9]*$' | xargs -i rm {}) &&
43 mv WS $WSname && 43 mv WS $WSname &&
44 /usr/bin/time -p -o ./bashlog zip ${13} -y -q -r $WSname $WSname && 44 /usr/bin/time -p -o ./bashlog zip ${13} -y -q -r $WSname $WSname &&
45 echo "Step 2, time to zip the Workspace:" && 45 echo "Step 2, time to zip the Workspace:" &&
46 echo "==================================" && 46 echo "==================================" &&