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:
parent
b55eeb85b6
commit
624d0e4eaf
1 changed files with 2 additions and 2 deletions
|
@ -62,11 +62,11 @@ for PACKAGE in `pkg query -a %n` ; do
|
||||||
fi
|
fi
|
||||||
if [ ${PORT} = ${NONEED} ] ; then FLG="YES" ; fi
|
if [ ${PORT} = ${NONEED} ] ; then FLG="YES" ; fi
|
||||||
done
|
done
|
||||||
fgrep "${PORT}\|\|" ${PORTSDIR}/MOVED > /dev/null
|
fgrep "${PORT}||" ${PORTSDIR}/MOVED > /dev/null
|
||||||
RET=$?
|
RET=$?
|
||||||
if [ 0 -eq $((RET)) ] ; then FLG="YES" ; fi
|
if [ 0 -eq $((RET)) ] ; then FLG="YES" ; fi
|
||||||
if [ -n ${FLAVOR} ] ; then
|
if [ -n ${FLAVOR} ] ; then
|
||||||
fgrep "${PORT}@${FLAVOR}\|\|" ${PORTSDIR}/MOVED > /dev/null
|
fgrep "${PORT}@${FLAVOR}||" ${PORTSDIR}/MOVED > /dev/null
|
||||||
RET=$?
|
RET=$?
|
||||||
if [ 0 -eq $((RET)) ] ; then FLG="YES" ; fi
|
if [ 0 -eq $((RET)) ] ; then FLG="YES" ; fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue