From: Pierre Gueth Date: Thu, 24 Jan 2013 13:09:59 +0000 (+0100) Subject: merge details X-Git-Tag: v1.4.0~177^2~8 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=dfadc9f44a977680ed6314d95badbe7e2fc11e93;p=clitk.git merge details --- diff --git a/cluster_tools/gate_power_merge.sh b/cluster_tools/gate_power_merge.sh index 2ffad4b..55fc1f0 100755 --- a/cluster_tools/gate_power_merge.sh +++ b/cluster_tools/gate_power_merge.sh @@ -276,7 +276,7 @@ function merge_dispatcher { local outputfile="${1:?"provide output filename"}" echo "merging ${outputfile}" - local partialoutputfiles="$(find "${rundir}" -type f -name "${outputfile}")" + local partialoutputfiles="$(find "${rundir}" -mindepth 2 -type f -name "${outputfile}")" local nboutputfiles="$(echo "${partialoutputfiles}" | wc -l)" if test ${nboutputdirs} -ne ${nboutputfiles} then