Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2017 19:36:36 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r439126 - head/Mk
Message-ID:  <201704211936.v3LJaaU3062298@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Fri Apr 21 19:36:36 2017
New Revision: 439126
URL: https://svnweb.freebsd.org/changeset/ports/439126

Log:
  Use POSIX conformant expressions with grep(1)
  
  PR:		218691
  Submitted by:	Kyle Evans
  With hat:	portmgr

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Fri Apr 21 19:35:24 2017	(r439125)
+++ head/Mk/bsd.port.mk	Fri Apr 21 19:36:36 2017	(r439126)
@@ -5013,7 +5013,7 @@ check-desktop-entries:
 			${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 1 (Name) is empty"; \
 			exit 1; \
 		fi; \
-		if ${ECHO_CMD} "$$3" | ${GREP} -iq '.\(png\|svg\|xpm\)$$'; then \
+		if ${ECHO_CMD} "$$3" | ${EGREP} -iq '.(png|svg|xpm)$$'; then \
 			if ! ${ECHO_CMD} "$$3" | ${GREP} -iq '^/'; then \
 				${ECHO_MSG} "${PKGNAME}: Makefile warning: in desktop entry $$entry: field 3 (Icon) should be either absolute path or icon name without extension if installed icons follow Icon Theme Specification"; \
 			fi; \



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