diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2006-10-10 12:41:28 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2006-10-10 12:41:28 +0000 |
commit | f1629474f330a7b2e926eafdcb4c39ed9bc597f3 (patch) | |
tree | ee9731b99e4985dea266d5445d5df7edfa02a835 /print | |
parent | 8958ed3695c0b835f1ae2f7b0c4601ddecc3d936 (diff) | |
download | pkgsrc-f1629474f330a7b2e926eafdcb4c39ed9bc597f3.tar.gz |
Avoid empty for loops in shell scripts .
for f in ; do .... ; done
fails with solaris /bin/sh. This repairs installation for several
packages.
Diffstat (limited to 'print')
-rw-r--r-- | print/teTeX/files/texmf.tmpl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/print/teTeX/files/texmf.tmpl b/print/teTeX/files/texmf.tmpl index 35c54389d04..310c0bdd149 100644 --- a/print/teTeX/files/texmf.tmpl +++ b/print/teTeX/files/texmf.tmpl @@ -1,4 +1,4 @@ -# $NetBSD: texmf.tmpl,v 1.4 2005/11/17 00:42:14 minskim Exp $ +# $NetBSD: texmf.tmpl,v 1.5 2006/10/10 12:41:28 dmcmahill Exp $ # # Rebuild the ls-R database. # @@ -6,12 +6,14 @@ case ${STAGE} in POST-INSTALL) @MKTEXLSR@ @TEXMFDIRS@ - for map in @TEX_FONTMAPS@; do + tex_fontmaps="@TEX_FONTMAPS@" + for map in $tex_fontmaps ; do @UPDMAP_SYS@ --enable Map=${map} done ;; DEINSTALL) - for map in @TEX_FONTMAPS@; do + tex_fontmaps="@TEX_FONTMAPS@" + for map in $tex_fontmaps ; do @UPDMAP_SYS@ --disable ${map} done ;; |