Fix handling of MOVED. Escape char (backslash) for bar (pipe) was no longer needed after switching from textproc/ripgrep to find.

This commit is contained in:
Tomoaki AOKI [aka Junchoon] 2024-07-01 18:57:51 +09:00
parent b55eeb85b6
commit 624d0e4eaf

View file

@ -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