diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2017-05-25 19:13:37 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2017-05-25 19:13:37 +0000 |
commit | 6ecabaebaa562e674eb6facc6b337b0a7f5f2eb1 (patch) | |
tree | d2c70cd70b4d2db69dbf828354ef21e239a14520 /Mk | |
parent | 8c0b3c0a3cbba8e8c9c3be2c51ef5717ef4235fb (diff) | |
download | ports-6ecabaebaa562e674eb6facc6b337b0a7f5f2eb1.tar.gz ports-6ecabaebaa562e674eb6facc6b337b0a7f5f2eb1.zip |
Fix issues with PACKAGES is set by a user with a ':' in the path
Reported by: dim
Approved by: portmgr (adamw)
Differential Revision: https://reviews.freebsd.org/D10847
Notes
Notes:
svn path=/head/; revision=441712
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 52bbdf1c1387..8936d25a9a2e 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -2497,6 +2497,7 @@ check-categories: PKGREPOSITORYSUBDIR?= All PKGREPOSITORY?= ${PACKAGES}/${PKGREPOSITORYSUBDIR} .if exists(${PACKAGES}) +PACKAGES:= ${PACKAGES:S/:/\:/g} _HAVE_PACKAGES= yes PKGFILE?= ${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX} .else |