X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2Fscripts%2Fcreate_mhd_4D.sh;h=238e26aa9b4e68f649fc13af46003d098ced77c3;hb=ff1d5b8af965e75ecdbc1b0cbff0dad6f3b3c511;hp=962541d85afa0117dc79330fcf85f64d88e33278;hpb=cdf066ac3e9b2526f6b8f1377c6c96067fdc2527;p=clitk.git diff --git a/vv/scripts/create_mhd_4D.sh b/vv/scripts/create_mhd_4D.sh index 962541d..238e26a 100755 --- a/vv/scripts/create_mhd_4D.sh +++ b/vv/scripts/create_mhd_4D.sh @@ -6,12 +6,12 @@ ##################################################################### if [ $# -lt 1 ] then - echo "Usage: create_mhd_4D.sh directory output_file_name" + echo "Usage: create_mhd_4D.sh directory output_file_name(without path)" exit 1 fi cd $1 -nbph=`find -iname *0.mhd | wc -l` +nbph=`find . -iname "*0.mhd" | wc -l` if [ $nbph = 0 ] then echo "Error: no phase found"