From aedb01d9697fd0660afb5e4742b9b27090edefa9 Mon Sep 17 00:00:00 2001 From: Sai Nirmayi Yasa <92786623+sainirmayi@users.noreply.github.com> Date: Wed, 31 Jan 2024 09:22:14 +0100 Subject: [PATCH] use $meta_tmp_dir Co-authored-by: Robrecht Cannoodt --- src/featurecounts/script.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/featurecounts/script.sh b/src/featurecounts/script.sh index b0efb2c5..f2270c8a 100644 --- a/src/featurecounts/script.sh +++ b/src/featurecounts/script.sh @@ -3,9 +3,7 @@ ## VIASH START ## VIASH END -if [[ $par_tmpdir ]] && [[ ! -d "$par_tmpdir" ]]; then - mkdir -p $tmpDir -fi +tmp_dir=$(mktemp -d -p "$meta_temp_dir" "${meta_functionality_name}_XXXXXXXXX") if [[ $par_r_path ]] && [[ ! -d "$par_r_path" ]]; then mkdir -p $par_r_path