aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2017-04-22 03:35:24 +0800
committerantoine <antoine@FreeBSD.org>2017-04-22 03:35:24 +0800
commite3765cd86389f3c6ffdd6ff4de700dff4c6c2399 (patch)
treec6f04bd96bd502f3fd58ab5691e688902403c477 /Mk/Uses
parent813ff9371f4a088afad5bd70252380cc8e7c76c8 (diff)
downloadfreebsd-ports-gnome-e3765cd86389f3c6ffdd6ff4de700dff4c6c2399.tar.gz
freebsd-ports-gnome-e3765cd86389f3c6ffdd6ff4de700dff4c6c2399.tar.zst
freebsd-ports-gnome-e3765cd86389f3c6ffdd6ff4de700dff4c6c2399.zip
Use POSIX conformant expressions with grep(1)
PR: 218690 Submitted by: Kyle Evans With hat: portmgr
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/python.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index f7f478169fd2..4384714c9842 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -472,10 +472,10 @@ UNIQUE_SUFFIX= -${PYTHON_VER}
.if defined(_PYTHON_FEATURE_AUTOPLIST)
UNIQUE_FIND_SUFFIX_FILES= \
${SED} -e 's|^${PREFIX}/||' ${_PYTHONPKGLIST} ${TMPPLIST} | \
- ${GREP} -e '^bin/.*$$\|^sbin/.*$$\|^libexec/.*$$'
+ ${EGREP} -e '^bin/.*$$|^sbin/.*$$|^libexec/.*$$'
.else
UNIQUE_FIND_SUFFIX_FILES= \
- ${GREP} -he '^bin/.*$$\|^sbin/.*$$\|^libexec/.*$$' ${TMPPLIST} 2>/dev/null
+ ${EGREP} -he '^bin/.*$$|^sbin/.*$$|^libexec/.*$$' ${TMPPLIST} 2>/dev/null
.endif
.endif # defined(_PYTHON_FEATURE_CONCURRENT)