view build-and-run-job-scripts.sh @ 2:3d4f21a85f68 draft

planemo upload
author mingchen0919
date Tue, 15 May 2018 08:26:40 -0400
parents 461163067ced
children 2c8c06250531
line wrap: on
line source

# run job scripts within the tool outputs directory
cd ${REPORT_FILES_PATH}

#========== build and run job 1 script ============
cat >curl-download.sh <<EOF
if [[ $(wc -l <$X_f) -ge 2 ]];then
  cp $X_f $X_O
else
  curl $(head -1 $X_f) > $X_O
EOF

# run job 1 script
sh curl-download.sh