X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=scripts%2Fcreate_mhd_4D.sh;h=b363f7e3034c3143755923a3904b0fbbf8a7596e;hb=1b3bd38bb6795054b48acab2c5685998b922cd90;hp=5b602446bd3b038081cf91834c663c4d0eaf6b74;hpb=cbbc5b0fddd41780944974b285d98bea5c3f04e7;p=clitk.git diff --git a/scripts/create_mhd_4D.sh b/scripts/create_mhd_4D.sh index 5b60244..b363f7e 100755 --- a/scripts/create_mhd_4D.sh +++ b/scripts/create_mhd_4D.sh @@ -28,10 +28,10 @@ then exit 1 fi -nb_phase_file=`find $1 -maxdepth 1 -iname "*[0-9]*.mhd" -o -iname "*[0-9]*\]*.mhd" | wc -l` +nb_phase_file=`find $1 -maxdepth 1 -iname "*[0-9]*.mhd" | wc -l` if [ $nb_phase_file = 0 ] then - echo "Error: no phase found" + echo "No phase found in $1" exit 1 fi