From 7df28735bfbf383f0d58a5c69749d9651b881233 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 24 Jul 2012 09:04:13 +0000 Subject: [PATCH] Fix some missing quoting PR: ports/170087 Submitted by: Vincent Hoffman-Kazlauskas , Denis Generalov --- ports-mgmt/poudriere/Makefile | 1 + .../files/patch-src__poudriere.d__common.sh | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 ports-mgmt/poudriere/files/patch-src__poudriere.d__common.sh diff --git a/ports-mgmt/poudriere/Makefile b/ports-mgmt/poudriere/Makefile index 44edde79ed6a..13983933fd71 100644 --- a/ports-mgmt/poudriere/Makefile +++ b/ports-mgmt/poudriere/Makefile @@ -7,6 +7,7 @@ PORTNAME= poudriere PORTVERSION= 1.5.4 +PORTREVISION= 1 CATEGORIES= ports-mgmt MASTER_SITES= http://files.etoilebsd.net/poudriere/ diff --git a/ports-mgmt/poudriere/files/patch-src__poudriere.d__common.sh b/ports-mgmt/poudriere/files/patch-src__poudriere.d__common.sh new file mode 100644 index 000000000000..1dbfa1f76510 --- /dev/null +++ b/ports-mgmt/poudriere/files/patch-src__poudriere.d__common.sh @@ -0,0 +1,20 @@ +--- ./src/poudriere.d/common.sh.orig 2012-07-04 12:38:06.000000000 +0200 ++++ ./src/poudriere.d/common.sh 2012-07-24 10:58:57.289711665 +0200 +@@ -610,7 +610,7 @@ + local pn + msg "Caching missing port versions" + while read port; do +- if ! egrep -q "^${port} " ${cache}; then ++ if ! grep -q "^${port} " ${cache}; then + pn=$(injail make -C /usr/ports/${port} -VPKGNAME) + echo "${port} ${pn}" >> ${cache} + fi +@@ -635,7 +635,7 @@ + export LOCALBASE=${MYBASE:-/usr/local} + while read p; do + pn=$(awk -v o=${p} ' { if ($1 == o) {print $2} }' ${cache}) +- [ ! -f ${PKGDIR}/All/${pn}.${EXT} ] && queue="${queue} $p" ++ [ ! -f "${PKGDIR}/All/${pn}.${EXT}" ] && queue="${queue} $p" + done < ${tmplist2} + + rm -f ${tmplist2} ${deplist} ${tmplist}