From owner-cvs-all@FreeBSD.ORG Mon Jul 14 03:56:24 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25A4F1065679; Mon, 14 Jul 2008 03:56:24 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id F19A18FC32; Mon, 14 Jul 2008 03:56:23 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m6E3uNAF019269; Mon, 14 Jul 2008 03:56:23 GMT (envelope-from edwin@repoman.freebsd.org) Received: (from edwin@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m6E3uNEx019268; Mon, 14 Jul 2008 03:56:23 GMT (envelope-from edwin) Message-Id: <200807140356.m6E3uNEx019268@repoman.freebsd.org> From: Edwin Groothuis Date: Mon, 14 Jul 2008 03:56:23 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/Tools/scripts/modules update.sh X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2008 03:56:24 -0000 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