Commit 2a5d61bb authored by Sander Bollen's avatar Sander Bollen
Browse files

use unzip -l instead of unzip -t since busybox does not contain -t

parent 2e5bee02
Pipeline #2578 canceled with stages
in 129 minutes and 1 second
......@@ -26,13 +26,13 @@ odir=${5}
fastqc --nogroup -o ${odir} ${input_r1} ${input_r2}
if [[ -f ${output_r1} ]]; then
unzip -t ${output_r1} || truncate -s0 ${output_r1}
unzip -l ${output_r1} || truncate -s0 ${output_r1}
else
touch ${output_r1}
fi
if [[ -f ${output_r2} ]]; then
unzip -t ${output_r2} || truncate -s0 ${output_r2}
unzip -l ${output_r2} || truncate -s0 ${output_r2}
else
touch ${output_r2}
fi
Supports Markdown
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