]> Creatis software - clitk.git/commitdiff
*** empty log message ***
authorbouilhol <bouilhol>
Thu, 20 Jan 2011 16:30:03 +0000 (16:30 +0000)
committerbouilhol <bouilhol>
Thu, 20 Jan 2011 16:30:03 +0000 (16:30 +0000)
vv/scripts/create_mhd_4D.sh

index beea8c5eeffd6721beb74213477bc14e51fcc4e6..2ef421b5869a29cd79159e61bc5d4f1ae86c323c 100755 (executable)
@@ -11,7 +11,7 @@ then
 fi
 
 cd $1
-nbph=`ls *0.mhd | wc -l`
+nbph=`find . -iname "*0.mhd" | wc -l`
 if [ $nbph = 0 ]
 then
     echo "Error: no phase found"