Files
htrnaseq/src/io/publish_fastqs/code.sh
CI 228364274a Build branch fix/empty with version fix-empty (3b873b6)
Build pipeline: viash-hub.htrnaseq.fix-empty-p2njn

Source commit: 3b873b622f

Source message: Fix missing test file from config
2025-02-17 08:25:38 +00:00

21 lines
410 B
Bash
Executable File

#!/bin/bash
echo "Publishing $par_input -> $par_output"
echo
echo "Creating directory if it does not exist:"
mkdir -p "$par_output" && echo "$par_output created"
echo
echo "Copying files..."
IFS=";" read -ra input_r1 <<<$par_input_r1
IFS=";" read -ra input_r2 <<<$par_input_r2
for i in "${input_r1[@]}"; do
cp -rL "$i" "$par_output/"
done
for i in "${input_r2[@]}"; do
cp -rL "$i" "$par_output/"
done