Commit 789f0572 authored by Lena Hersemann's avatar Lena Hersemann

added -p flag to mkdir in the `mcdir()` function in order to create...

added -p flag to mkdir in the `mcdir()` function in order to create intermediate directories if required
parent 608e4f90
......@@ -56,7 +56,7 @@ source <(curl https://git.mpi-cbg.de/bioinfo/ngs_tools/raw/v10/common/bash_utils
mcdir(){
if [ ! -d "$1" ]; then
mkdir "$1";
mkdir -p "$1";
fi;
cd "$1";
......
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