Commit c3403b0b authored by Christian Meesters's avatar Christian Meesters

sanitiy check: no output to home

parent fc1362fc
......@@ -603,6 +603,10 @@ done
DATABASE=$RAMDISK/$(basename $DATABASEPATH)
WORKDIR=$PWD/$BLASTDIR/$SLURM_JOB_NAME
# this script may never output to a user's $HOME
if [[ *"$WORKDIR"* = 'home' ]]; then
eror "Cowardly refusing to operate in a home directory."
fi
# set path names to ease maintance
SPLITFILEDIR=scratch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment