From: adilger Date: Wed, 23 Sep 2009 21:51:11 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_9_270~9 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=70e97c028cccacde50795b23198c2acfc3c1738a;ds=sidebyside Branch HEAD "sort -u" is only sorting and uniquifying on the first field, so it discards all lines with the same stack depth... Use "uniq" instead. --- diff --git a/autoMakefile.am b/autoMakefile.am index e2e94ab..f7765d6 100644 --- a/autoMakefile.am +++ b/autoMakefile.am @@ -28,7 +28,7 @@ checkstack: [ -f ${CSTK} -a ! -s ${CSTKO} ] && mv -f ${CSTK} ${CSTKO} || true { for MOD in $$(find . -name "*.ko"); do \ objdump -d $$MOD | perl build/checkstack.pl; \ - done } | grep -v " bug " | sort -nru > ${CSTK} + done } | grep -v " bug " | sort -nr | uniq > ${CSTK} [ -f ${CSTKO} ] && ! diff -u ${CSTKO} ${CSTK} || head -30 ${CSTK} checkstack-update: