Skip to content

Commit

Permalink
fix: specifically remove tmp/$HASH/ rather than tmp/
Browse files Browse the repository at this point in the history
  • Loading branch information
js2264 committed May 14, 2024
1 parent f8397ee commit 94e5273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tinyMapper.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

VERSION=0.14.0
VERSION=0.14.1

INVOC=$(printf %q "$BASH_SOURCE")$((($#)) && printf ' %q' "$@")
HASH=`LC_CTYPE=C tr -dc 'A-Z0-9' < /dev/urandom | head -c 6`
Expand Down Expand Up @@ -1469,7 +1469,7 @@ if test "${KEEPFILES}" == 1 ; then
rm --force "${SAMPLE_ALIGNED_GENOME_FWD}"
rm --force "${SAMPLE_ALIGNED_GENOME_REV}"
rm --force "${SAMPLE_ALIGNED_GENOME_REV}"
rm --recursive --force "${OUTDIR}"/tmp/
# rm --recursive --force "${OUTDIR}"/tmp/"${HASH}"/
fi

## ------------------------------------------------------------------
Expand Down

0 comments on commit 94e5273

Please sign in to comment.