Re: updmap vs updmap-sys
Ralf Stubner <ralf.stubner@physik.uni-erlangen.de> wrote:
> Anyway, setting something like SHOW_UID_WARNING isn't that easy, as when
> root is detected, updmap calls updmap-sys, which in turn calls updmap
> again with different settings. I don't see an easy solution for this.
You can transfer variables to the childs with export. I just checked
it; that does not only work from updmap-sys to updmap (as already done
for TEXMVAR, TEXMCONFIG and progname), but in two test scripts also from
export-exec to export-executed and again to export-exec:
,---- export-exec
| #!/bin/sh
|
| echo starting export-exec
|
| if [ -z $loop ]; then
| export FOO=bar
| exec ~/bin/testing/export-executed
| fi
|
| echo back again
| echo $FOO
`----
,---- export-executed
| #!/bin/sh
|
| echo export-executed: setting loop
| export loop=yes
| echo $loop
|
| exec ~/bin/testing/export-exec
`----
Regards, Frank
--
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer
Reply to: