Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82423 - tetex.eclass: texmf-update is multiplicated
Summary: tetex.eclass: texmf-update is multiplicated
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-17 18:14 UTC by Georgi Georgiev
Modified: 2005-02-18 06:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2005-02-17 18:14:35 UTC
tetex.eclass appends to ${T}/texmf-update and it may happen to do it several times in a row.

Quoting tetex.eclass:

cat >>${T}/texmf-update<<'EOF'
....
<snip>
EOF
dosbin ${T}/texmf-update

While I was trying to update my ptex to the latest 20050218 version (not in portage as of the moment) I had to "ebuild ptex-3.1.8.20050218.ebuild install" a few times from my overlay and the update script was appended to ${T}/texmf-update every time. This resulted in my configuration regenerated 4 times when I ran texmf-update. Is this ">>" really necessary?
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-02-17 20:05:55 UTC
The script creation should be done in src_unpack.
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-18 06:23:28 UTC
Fixed in CVS. (Moved it to src_unpack() and changed '>>' to '>')
Thanks for the report.