Re: git: 0b13bc12c95c - main - www/code-server: Update to 4.132.0

"Sergey A. Osokin" <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
On Fri, Aug 14, 2026 at 01:47:20PM +0000, Jochen Neumeister wrote:
> The branch main has been updated by joneum:
> 
> +
> +post-stage:
> +	@${FIND} ${STAGEDIR}${DATADIR} -name '*.node' -type f | while read f; do /usr/bin/file -b "$${f}" | ${GREP} -q 'ELF.*FreeBSD' && ${STRIP_CMD} "$${f}" || ${TRUE}; done

That seems to be very long, splitting up will increase readability (not tested):

 post-stage:
-       @${FIND} ${STAGEDIR}${DATADIR} -name '*.node' -type f | while read f; do /usr/bin/file -b "$${f}" | ${GREP} -q 'ELF.*FreeBSD' && ${STRIP_CMD} "$${f}" || ${TRUE}; done
+       @${FIND} ${STAGEDIR}${DATADIR} -name '*.node' -type f | \
+               while read f; do /usr/bin/file -b "$${f}" | \
+               ${GREP} -q 'ELF.*FreeBSD' && ${STRIP_CMD} "$${f}" || ${TRUE}; done

-- 
Sergey A. Osokin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.