let count++
local arguments=" -i ${partial} ${arguments}"
done
-${rootMerger} ${arguments} > /dev/null || warning "error while calling ${rootMerger}"
+${rootMerger} ${arguments} > /dev/null || error "error while calling ${rootMerger}"
echo " ${indent}merged ${count} files"
}
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
error "unknown file type"
}
-echo "!!!! this is $0 v0.3j !!!!"
+echo "!!!! this is $0 v0.3k !!!!"
rundir="${1?"provide run dir"}"
rundir="$(echo "${rundir}" | sed 's|/*$||')"