From: Pierre Gueth (kingkong) Date: Fri, 10 Jun 2011 14:36:49 +0000 (+0200) Subject: less verbose X-Git-Tag: v1.4.0~177^2~23 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=f9ad7135802e9455cd13ce4cb22bfab86670ab9b;p=clitk.git less verbose --- diff --git a/cluster_tools/gate_power_merge.sh b/cluster_tools/gate_power_merge.sh index 53da5a9..1a16b54 100755 --- a/cluster_tools/gate_power_merge.sh +++ b/cluster_tools/gate_power_merge.sh @@ -45,7 +45,7 @@ do let count++ local arguments=" -i ${partial} ${arguments}" done -${rootMerger} ${arguments} || warning "error while calling ${rootMerger}" +${rootMerger} ${arguments} > /dev/null || warning "error while calling ${rootMerger}" echo " ${indent}merged ${count} files" } @@ -74,7 +74,7 @@ do fi update_bar ${count} "adding ${partial}" - ${statMerger} -i "${merged}" -j "${partial}" -o "${merged}" || warning "error while calling ${statMerger}" + ${statMerger} -i "${merged}" -j "${partial}" -o "${merged}" 2> /dev/null > /dev/null || warning "error while calling ${statMerger}" done end_bar echo " ${indent}merged ${count} files" @@ -107,7 +107,7 @@ do update_bar ${count} "adding ${partial}" local header="$(cat "${merged}" | head -n 6)" local tmp="$(mktemp)" - ${txtImageMerger} -i "${partial}" -j "${merged}" -o "${tmp}" || warning "error while calling ${txtImageMerger}" + ${txtImageMerger} -i "${partial}" -j "${merged}" -o "${tmp}" 2> /dev/null > /dev/null || warning "error while calling ${txtImageMerger}" echo "${header}" > "${merged}" grep -v '## Merge' "${tmp}" >> "${merged}" rm "${tmp}" @@ -144,7 +144,7 @@ do fi update_bar ${count} "adding ${partial}" - ${hdrImageMerger} -t 0 -i "${partial}" -j "${merged}" -o "${merged}" || warning "error while calling ${hdrImageMerger}" + ${hdrImageMerger} -t 0 -i "${partial}" -j "${merged}" -o "${merged}" 2> /dev/null > /dev/null || warning "error while calling ${hdrImageMerger}" done end_bar echo " ${indent}merged ${count} files"