From dfadc9f44a977680ed6314d95badbe7e2fc11e93 Mon Sep 17 00:00:00 2001 From: Pierre Gueth Date: Thu, 24 Jan 2013 14:09:59 +0100 Subject: [PATCH] merge details --- cluster_tools/gate_power_merge.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.1