]> Creatis software - clitk.git/commitdiff
Add missing basename call after.
authorVivien Delmon <vivien.delmon@creatis.insa-lyon.fr>
Thu, 17 Nov 2011 15:38:21 +0000 (16:38 +0100)
committerVivien Delmon <vivien.delmon@creatis.insa-lyon.fr>
Thu, 17 Nov 2011 15:38:21 +0000 (16:38 +0100)
scripts/create_midP_masks-2.0.sh

index 2d9ab8ec2f14f222fca3f74283148654e148622a..9f64694d8bcf96117de8e1ba0dd8d339a7b85877 100755 (executable)
@@ -145,7 +145,7 @@ mm_postprocessing()
 motion_mask()
 {
   #set cmd line variables
-  mhd4d=$1
+  mhd4d=`basename $1`
   if [ $# -eq 3 ] ; then
     resample_spacing=$2
     resample_algo=$3