diff options
author | Ryan Hill <rhill@gentoo.org> | 2007-09-24 01:09:25 +0000 |
---|---|---|
committer | Ryan Hill <rhill@gentoo.org> | 2007-09-24 01:09:25 +0000 |
commit | 10825238f68d52ecc578d3858a11b91aa5d61b9a (patch) | |
tree | 869e7ad3e8e357de64214ffb1b4795b62c292898 /media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild | |
parent | Added quotes around ${S} and ${D}. (diff) | |
download | historical-10825238f68d52ecc578d3858a11b91aa5d61b9a.tar.gz historical-10825238f68d52ecc578d3858a11b91aa5d61b9a.tar.bz2 historical-10825238f68d52ecc578d3858a11b91aa5d61b9a.zip |
Fix race condition in ebuild. Thanks to Ed Catmur for analysis and patch.
Bug #183398.
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild')
-rw-r--r-- | media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild b/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild index ac605517d1b5..abd2181192f5 100644 --- a/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild +++ b/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild,v 1.7 2007/09/16 02:59:54 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild,v 1.8 2007/09/24 01:09:25 dirtyepic Exp $ inherit font eutils font-ebdftopcf @@ -30,9 +30,7 @@ src_unpack() { src_compile() { cd "${FONT_S}" - for a in *.bdf; do - cat < ${a} | ( rm ${a}; sed '/^FONT /s/\(.*-\)C*-/\1C-/' > ${a} ) - done + sed -i -e '/^FONT /s/\(.*-\)C*-/\1C-/' *.bdf || die "sed failed" font-ebdftopcf_src_compile } |