diff options
author | Göktürk Yüksek <gokturk@gentoo.org> | 2017-01-21 20:57:29 -0500 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2017-01-21 23:30:10 -0500 |
commit | 88ce08fa905f73ab9341285396b8e6f0a054058c (patch) | |
tree | d43e980ea4598092f1f8350398ef52930e6333ff /sci-electronics/kicad | |
parent | sci-electronics/kicad: Add new 4.0.5 ebuild, move to EAPI6 (diff) | |
download | gentoo-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.ebuild | 4 |
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 2544592c2990..dfaae912cc91 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 |