view build-and-run-job-scripts.sh @ 0:461163067ced draft

planemo upload
author mingchen0919
date Tue, 15 May 2018 00:50:47 -0400
parents
children 3d4f21a85f68
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 [ "$X_f" != 'None' ];then
  cp $X_f $X_O
elif [ "$X_u" != "TRUE" ];then
  curl $X_u > $X_O
fi
EOF

# run job 1 script
sh curl-download.sh