Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2018 15:09:13 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487692 - head/Tools/scripts
Message-ID:  <201812171509.wBHF9DLo018079@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Mon Dec 17 15:09:13 2018
New Revision: 487692
URL: https://svnweb.freebsd.org/changeset/ports/487692

Log:
  Revert flavour support.
  
  Submitted by:	rene

Modified:
  head/Tools/scripts/rmport

Modified: head/Tools/scripts/rmport
==============================================================================
--- head/Tools/scripts/rmport	Mon Dec 17 15:00:41 2018	(r487691)
+++ head/Tools/scripts/rmport	Mon Dec 17 15:09:13 2018	(r487692)
@@ -3,7 +3,7 @@
 # rmport - remove port(s) from the FreeBSD Ports Collection.
 #
 # Copyright 2006-2007 Vasil Dimov
-# Copyright 2012-2012 Chris Rees
+# Copyright 2012-2018 Chris Rees
 # Copyright 2016-2018 Rene Ladan
 # All rights reserved.
 #
@@ -121,7 +121,7 @@ find_expired()
 	EXPVAR=EXPIRATION_DATE
 
 	find -H ${PORTSDIR} -mindepth 3 -maxdepth 3 -name "Makefile*" \
-		|xargs grep -H "^[0-9a-zA-Z_]*${EXPVAR}"  \
+		|xargs grep -H "^${EXPVAR}"  \
 		|grep -v '^#'  \
 		|sed -E "s|${PORTSDIR}/?([^/]+/[^/]+)/Makefile[^:]*:${EXPVAR}=[[:space:]]*([0-9-]{10})$|\2 \1|g" \
 		|perl -ne "if ((substr(\$_, 0, 10) cmp '${TODAY}') <= 0) { print(\$_); }" \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812171509.wBHF9DLo018079>