changeset 6:af2e4c66261f draft

planemo upload for repository https://github.com/feltus/BDSS
author mingchen0919
date Tue, 12 Jun 2018 00:15:20 -0400
parents f54745885931
children 86f38533b2ab
files build-and-run-job-scripts.sh
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/build-and-run-job-scripts.sh	Tue Jun 12 00:11:42 2018 -0400
+++ b/build-and-run-job-scripts.sh	Tue Jun 12 00:15:20 2018 -0400
@@ -1,3 +1,6 @@
+# create a download_dir in current job working directory
+JOB_WORKING_DIR=$(pwd)
+
 # run job scripts within the tool outputs directory
 cd ${REPORT_FILES_PATH}
 mkdir download_dir
@@ -10,3 +13,5 @@
 echo 'done' >> bdss-download.sh
 
 sh bdss-download.sh
+
+cp -r download_dir ${JOB_WORKING_DIR}/download_dir
\ No newline at end of file