Skip to content

Commit

Permalink
Fix quoting of $TMPDIR in NCBI FCS-GX
Browse files Browse the repository at this point in the history
  • Loading branch information
natefoo committed Nov 20, 2024
1 parent f657597 commit d345b73
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/ncbi_fcs_gx/ncbi_fcs_gx.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
#set manifest_pathname = $mode.config_tag.fields.source_manifest
#end if
## skip checksumming the database if the db_state_file exists
if [ ! -e '\${TMPDIR}/sync-files-completed.txt' ]; then
if [ ! -e "\${TMPDIR}/sync-files-completed.txt" ]; then
## copy data to local storage
mkdir -p '\${TMPDIR}' &&
sync_files.py get --mft '$manifest_pathname' --dir '\${TMPDIR}' > /dev/null 2>&1 &&
touch '\${TMPDIR}/sync-files-completed.txt';
mkdir -p "\${TMPDIR}" &&
sync_files.py get --mft '$manifest_pathname' --dir "\${TMPDIR}" > /dev/null 2>&1 &&
touch "\${TMPDIR}/sync-files-completed.txt";
fi &&
## run gx
GX_NUM_CORES=\${GALAXY_SLOTS:-2} run_gx.py
Expand All @@ -37,7 +37,7 @@
#if $mode.screen_adv.div:
--div '$mode.screen_adv.div'
#end if
--gx-db '\${TMPDIR}'
--gx-db "\${TMPDIR}"
--out-basename output
--action-report true
--generate-logfile false
Expand Down

0 comments on commit d345b73

Please sign in to comment.