Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jan 2018 20:02:12 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458380 - in head/ports-mgmt/pkg_cutleaves: . files
Message-ID:  <201801072002.w07K2CcJ035927@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Sun Jan  7 20:02:12 2018
New Revision: 458380
URL: https://svnweb.freebsd.org/changeset/ports/458380

Log:
  ports-mgmt/pkg_cutleaves: Fix creating exclude list for packages with single digit version
  
  PR:		224899
  Submitted by:	m.ne@gmx.net

Modified:
  head/ports-mgmt/pkg_cutleaves/Makefile
  head/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves

Modified: head/ports-mgmt/pkg_cutleaves/Makefile
==============================================================================
--- head/ports-mgmt/pkg_cutleaves/Makefile	Sun Jan  7 19:51:40 2018	(r458379)
+++ head/ports-mgmt/pkg_cutleaves/Makefile	Sun Jan  7 20:02:12 2018	(r458380)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pkg_cutleaves
-PORTVERSION=	20090810
+PORTVERSION=	20180108
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	# none
 DISTFILES=	# none

Modified: head/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves
==============================================================================
--- head/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves	Sun Jan  7 19:51:40 2018	(r458379)
+++ head/ports-mgmt/pkg_cutleaves/files/pkg_cutleaves	Sun Jan  7 20:02:12 2018	(r458380)
@@ -358,10 +358,9 @@ sub create_excludelist {
     or die "Failed to open exclude list ($excludefile): $!\n";
   print EXCLFILE '# Auto-generated exclude list ', scalar localtime, "\n";
   for (sort keys %leavestokeep) {
-    /^(.+)-\d.+$/o 
+    /^(.+)-\d.*$/o 
       ? print EXCLFILE $1, "\n"
       : warn 'Unable to extract exclude pattern from ', $_, "\n";
   }
   print "New exclude list ($excludefile) generated.\n";
 }
-



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