Date: Mon, 14 Jul 2008 03:56:23 +0000 (UTC) From: Edwin Groothuis <edwin@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/Tools/scripts/modules update.sh Message-ID: <200807140356.m6E3uNEx019268@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
edwin 2008-07-14 03:56:23 UTC FreeBSD ports repository Modified files: Tools/scripts/modules update.sh Log: Have a different approach on how to check if the modules file has changed. Because the $FreeBSD$ keyword isn't expanded in the new version, we can't just do a diff, check the return value and ignore the output. Every new modules file, changed or not with regarding to the contents, has at least four lines in the diff output (line number, old line, seperator, new line). Only commit it if there are more than four lines difference between it. Revision Changes Path 1.2 +7 -9 ports/Tools/scripts/modules/update.sh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807140356.m6E3uNEx019268>