From: Jan-Benedict G. <jb...@us...> - 2005-12-28 17:09:58
|
Update of /cvsroot/linux-vax/toolchain/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13842 Modified Files: compare_buildlog.sh Log Message: - Call a helper script to actually do the diff'ing. That'll allow to keep diff/gdiff detection in one file. Index: compare_buildlog.sh =================================================================== RCS file: /cvsroot/linux-vax/toolchain/scripts/compare_buildlog.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- compare_buildlog.sh 17 Dec 2005 21:08:33 -0000 1.3 +++ compare_buildlog.sh 28 Dec 2005 17:09:50 -0000 1.4 @@ -11,7 +11,7 @@ [ -r "${1}" ] && cat "$1" | sed -e 's/[[:digit:]]\{8\}-[[:digit:]]\{6\}/xxxxxxxx-xxxxxx/g' | sed -e 's#^/tmp/cc......\.s#/tmp/ccXXXXXX.s#' > "${TEMP1FILE}" [ -r "${2}" ] && cat "$2" | sed -e 's/[[:digit:]]\{8\}-[[:digit:]]\{6\}/xxxxxxxx-xxxxxx/g' | sed -e 's#^/tmp/cc......\.s#/tmp/ccXXXXXX.s#' > "${TEMP2FILE}" -diff -u "${TEMP1FILE}" "${TEMP2FILE}" +_Diff "${TEMP1FILE}" "${TEMP2FILE}" rm -f "${TEMP1FILE}" "${TEMP2FILE}" |