From 624d0e4eaf05f6cca3b42665380887f9a22b208b Mon Sep 17 00:00:00 2001 From: Tomoaki AOKI Date: Mon, 1 Jul 2024 18:57:51 +0900 Subject: [PATCH] Fix handling of MOVED. Escape char (backslash) for bar (pipe) was no longer needed after switching from textproc/ripgrep to find. --- poudlist-all/poudlist-all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/poudlist-all/poudlist-all.sh b/poudlist-all/poudlist-all.sh index 6abea6e..55dcf45 100755 --- a/poudlist-all/poudlist-all.sh +++ b/poudlist-all/poudlist-all.sh @@ -62,11 +62,11 @@ for PACKAGE in `pkg query -a %n` ; do fi if [ ${PORT} = ${NONEED} ] ; then FLG="YES" ; fi done - fgrep "${PORT}\|\|" ${PORTSDIR}/MOVED > /dev/null + fgrep "${PORT}||" ${PORTSDIR}/MOVED > /dev/null RET=$? if [ 0 -eq $((RET)) ] ; then FLG="YES" ; fi if [ -n ${FLAVOR} ] ; then - fgrep "${PORT}@${FLAVOR}\|\|" ${PORTSDIR}/MOVED > /dev/null + fgrep "${PORT}@${FLAVOR}||" ${PORTSDIR}/MOVED > /dev/null RET=$? if [ 0 -eq $((RET)) ] ; then FLG="YES" ; fi fi