/[gentoo-x86]/eclass/texlive-module.eclass
Gentoo

Diff of /eclass/texlive-module.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.35 Revision 1.36
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.35 2010/10/11 18:26:33 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.36 2010/10/11 20:44:19 aballier Exp $
4 4
5# @ECLASS: texlive-module.eclass 5# @ECLASS: texlive-module.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# tex@gentoo.org 7# tex@gentoo.org
8# 8#
203texlive-module_src_compile() { 203texlive-module_src_compile() {
204 # Generate config files 204 # Generate config files
205 # TeX Live 2007 was providing lists. For 2008 they are now tlpobj. 205 # TeX Live 2007 was providing lists. For 2008 they are now tlpobj.
206 for i in "${S}"/tlpkg/tlpobj/*; 206 for i in "${S}"/tlpkg/tlpobj/*;
207 do 207 do
208 grep '^execute ' "${i}" | sed -e 's/^execute //' | tr ' ' '@' |sort|uniq >> "${T}/jobs" 208 grep '^execute ' "${i}" | sed -e 's/^execute //' | tr ' \t' '@@' |sort|uniq >> "${T}/jobs"
209 done 209 done
210 210
211 for i in $(<"${T}/jobs"); 211 for i in $(<"${T}/jobs");
212 do 212 do
213 j="$(echo $i | tr '@' ' ')" 213 j="$(echo $i | tr '@' ' ')"

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

  ViewVC Help
Powered by ViewVC 1.1.20