Commit f9f5c573 authored by Fidel Alfaro Almagro's avatar Fidel Alfaro Almagro
Browse files

Checking if "$TBSSDir" exists before creating it.

parent 2a684765
......@@ -5,7 +5,9 @@
direc="$PWD"/"$1"
TBSSDir="$direc"/dMRI/TBSS
mkdir "$TBSSDir"
if [ ! -d "$TBSSDir" ] ; then
mkdir "$TBSSDir"
fi
cd "$TBSSDir"
ln ../dMRI/dti_FA.nii.gz dti_FA.nii.gz
......
Supports Markdown
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