svn commit: r242213 - user/crees/rclint
Chris Rees
crees at FreeBSD.org
Sun Oct 28 10:11:48 UTC 2012
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 at 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']:
More information about the svn-src-user
mailing list