diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2007-09-24 01:09:25 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2007-09-24 01:09:25 +0000 |
commit | 400ecaac57fa95a70bd58f69d76ea648408b41b1 (patch) | |
tree | a19ca20f32279dbeb46ed4360ae7672aa0f77bb1 /media-fonts | |
parent | Added quotes around ${S} and ${D}. (diff) | |
download | gentoo-2-400ecaac57fa95a70bd58f69d76ea648408b41b1.tar.gz gentoo-2-400ecaac57fa95a70bd58f69d76ea648408b41b1.tar.bz2 gentoo-2-400ecaac57fa95a70bd58f69d76ea648408b41b1.zip |
Fix race condition in ebuild. Thanks to Ed Catmur for analysis and patch.
Bug #183398.
(Portage version: 2.1.3.9)
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/lfpfonts-fix/ChangeLog | 6 | ||||
-rw-r--r-- | media-fonts/lfpfonts-fix/lfpfonts-fix-0.83-r2.ebuild | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/media-fonts/lfpfonts-fix/ChangeLog b/media-fonts/lfpfonts-fix/ChangeLog index 8aef688db153..99e9d55a4cc2 100644 --- a/media-fonts/lfpfonts-fix/ChangeLog +++ b/media-fonts/lfpfonts-fix/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-fonts/lfpfonts-fix # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/lfpfonts-fix/ChangeLog,v 1.13 2007/09/16 02:59:54 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/lfpfonts-fix/ChangeLog,v 1.14 2007/09/24 01:09:25 dirtyepic Exp $ + + 24 Sep 2007; Ryan Hill <dirtyepic@gentoo.org> lfpfonts-fix-0.83-r2.ebuild: + Fix race condition in ebuild. Thanks to Ed Catmur for analysis and patch. + Bug #183398. 16 Sep 2007; Ryan Hill <dirtyepic@gentoo.org> lfpfonts-fix-0.83-r2.ebuild: Touch up ebdftopcf bits. 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 } |