From owner-svn-src-user@FreeBSD.ORG Sun Oct 28 10:11:48 2012 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 045C0610; Sun, 28 Oct 2012 10:11:48 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E1E168FC0C; Sun, 28 Oct 2012 10:11:47 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9SABlFH080649; Sun, 28 Oct 2012 10:11:47 GMT (envelope-from crees@svn.freebsd.org) Received: (from crees@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9SABlg1080647; Sun, 28 Oct 2012 10:11:47 GMT (envelope-from crees@svn.freebsd.org) Message-Id: <201210281011.q9SABlg1080647@svn.freebsd.org> From: Chris Rees Date: Sun, 28 Oct 2012 10:11:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r242213 - user/crees/rclint X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2012 10:11:48 -0000 Author: crees (ports committer) Date: Sun Oct 28 10:11:47 2012 New Revision: 242213 URL: http://svn.freebsd.org/changeset/base/242213 Log: Strip path from filename and assume '-' means '_' inside file Modified: user/crees/rclint/Makefile user/crees/rclint/rclint.py Modified: user/crees/rclint/Makefile ============================================================================== --- user/crees/rclint/Makefile Sun Oct 28 09:18:13 2012 (r242212) +++ user/crees/rclint/Makefile Sun Oct 28 10:11:47 2012 (r242213) @@ -41,3 +41,7 @@ tarball: ${CP} ${FILES} rclint-${VERSION} && \ ${TAR} cvfz rclint-${VERSION}.tar.gz rclint-${VERSION} && \ ${RM} -rf rclint-${VERSION} + if [ "`id -un`@`hostname -s`" = "crees@pegasus" ]; then \ + sudo cp rclint-${VERSION}.tar.gz /usr/local/www/data/dist/rclint/ &&\ + scp rclint-${VERSION}.tar.gz freefall.FreeBSD.org:public_distfiles/rclint/; \ + fi Modified: user/crees/rclint/rclint.py ============================================================================== --- user/crees/rclint/rclint.py Sun Oct 28 09:18:13 2012 (r242212) +++ user/crees/rclint/rclint.py Sun Oct 28 10:11:47 2012 (r242213) @@ -28,7 +28,7 @@ __version__ = '$FreeBSD$' MAJOR = 0 MINOR = 0 -MICRO = 1 +MICRO = 2 DATADIR = '.' @@ -401,6 +401,7 @@ def do_rclint(filename): # Strip .in from filename logging.debug('Checking $name agrees with PROVIDE and filename') fn = filename[:-3] if filename[-3:] == '.in' else filename + fn = fn.split('/')[-1].replace('-', '_') n = get(lineobj['Variable'], 'name').value rcordervars = [] for r in lineobj['Rcorder']: