diff --git a/src/agat/agat_sp_merge_annotations/test.sh b/src/agat/agat_sp_merge_annotations/test.sh index 00ff1997..f8282f54 100644 --- a/src/agat/agat_sp_merge_annotations/test.sh +++ b/src/agat/agat_sp_merge_annotations/test.sh @@ -8,7 +8,7 @@ test_dir="${meta_resources_dir}/test_data" # create temporary directory and clean up on exit TMPDIR=$(mktemp --tmpdir "$meta_temp_dir") function clean_up { - [[ -d "$TMPDIR" ]] && rm -r "$TMPDIR" + rm -rf "$TMPDIR" } trap clean_up EXIT