From 88ce08fa905f73ab9341285396b8e6f0a054058c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= Date: Sat, 21 Jan 2017 20:57:29 -0500 Subject: sci-electronics/kicad: replace the for loop with the funky while loop Package-Manager: portage-2.3.0 --- sci-electronics/kicad/kicad-4.0.5.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sci-electronics') diff --git a/sci-electronics/kicad/kicad-4.0.5.ebuild b/sci-electronics/kicad/kicad-4.0.5.ebuild index 2544592c299..dfaae912cc9 100644 --- a/sci-electronics/kicad/kicad-4.0.5.ebuild +++ b/sci-electronics/kicad/kicad-4.0.5.ebuild @@ -77,9 +77,9 @@ src_prepare() { eapply "${FILESDIR}/${PN}-4.0.4-boost-context.patch" # remove all the non unix file endings - for f in $(find "${S}" -type f -name "*.desktop") ; do + while IFS="" read -d $'\0' -r f; do edos2unix "${f}" - done + done < <(find "${S}" -type f -name "*.desktop" -print0) # Remove cvpcb desktop file while it does nothing rm "${WORKDIR}/${P}/resources/linux/mime/applications/cvpcb.desktop" || die -- cgit v1.2.1