diff options
author | bapt <bapt@FreeBSD.org> | 2012-07-24 17:04:13 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-07-24 17:04:13 +0800 |
commit | 01e1d81ad9c918eb608dd8511c3c403d4c1129d3 (patch) | |
tree | 431a14be115055ca32829beaa033f2eaa333cea4 /ports-mgmt | |
parent | bc1a7c9f7bce1488754f4b51cdc1298d6953549f (diff) | |
download | freebsd-ports-gnome-01e1d81ad9c918eb608dd8511c3c403d4c1129d3.tar.gz freebsd-ports-gnome-01e1d81ad9c918eb608dd8511c3c403d4c1129d3.tar.zst freebsd-ports-gnome-01e1d81ad9c918eb608dd8511c3c403d4c1129d3.zip |
Fix some missing quoting
PR: ports/170087
Submitted by: Vincent Hoffman-Kazlauskas <vince@unsane.co.uk>, Denis Generalov <gd@powernet.ru>
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/poudriere/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/poudriere/files/patch-src__poudriere.d__common.sh | 20 |
2 files changed, 21 insertions, 0 deletions
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} |