Tell realpath to stay quiet if it cannot resolve a link

Approved by:	portmgr (bdrewery)
This commit is contained in:
Tijl Coosemans 2014-09-14 18:41:53 +00:00
parent 9f9b68bbe7
commit 66fcd054e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368217

View file

@ -77,7 +77,7 @@ patch-lafiles:
${XARGS} ${SED} -i '' -e "/dependency_libs=/s/=.*/=''/"
.else
@${FIND} ${STAGEDIR} -type l -exec ${SH} -c \
'case `${REALPATH} "{}"` in \
'case `${REALPATH} -q "{}"` in \
*.la) ${ECHO_CMD} "{}" ;; esac' \; | \
${XARGS} ${GREP} -l 'libtool library' | ${XARGS} ${RM}
@${FIND} ${STAGEDIR} -type f -name '*.la' | \