summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöktürk Yüksek <gokturk@gentoo.org>2017-01-21 20:57:29 -0500
committerGöktürk Yüksek <gokturk@gentoo.org>2017-01-21 23:30:10 -0500
commit88ce08fa905f73ab9341285396b8e6f0a054058c (patch)
treed43e980ea4598092f1f8350398ef52930e6333ff /sci-electronics/kicad
parentsci-electronics/kicad: Add new 4.0.5 ebuild, move to EAPI6 (diff)
downloadgentoo-88ce08fa905f73ab9341285396b8e6f0a054058c.tar.gz
gentoo-88ce08fa905f73ab9341285396b8e6f0a054058c.tar.bz2
gentoo-88ce08fa905f73ab9341285396b8e6f0a054058c.zip
sci-electronics/kicad: replace the for loop with the funky while loop
Package-Manager: portage-2.3.0
Diffstat (limited to 'sci-electronics/kicad')
-rw-r--r--sci-electronics/kicad/kicad-4.0.5.ebuild4
1 files changed, 2 insertions, 2 deletions
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