]> Creatis software - clitk.git/commitdiff
merge details
authorPierre Gueth <pierre.gueth@creatis.insa-lyon.fr>
Thu, 24 Jan 2013 13:09:59 +0000 (14:09 +0100)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Thu, 27 Jun 2013 12:47:29 +0000 (14:47 +0200)
cluster_tools/gate_power_merge.sh

index 2ffad4b93bc1b612c31825153a7476600ff2e629..55fc1f00ce974e4a1430dc2be9f2647e641bd3f2 100755 (executable)
@@ -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