diff options
author | Reinhard Kotucha <reinhard.kotucha@web.de> | 2007-12-06 19:38:43 +0000 |
---|---|---|
committer | Reinhard Kotucha <reinhard.kotucha@web.de> | 2007-12-06 19:38:43 +0000 |
commit | ba68ae782ed308aee5eec0128cfdc324d8e436cd (patch) | |
tree | a765d08f853e5af919adefe063027b237a621a6e /Master/bin | |
parent | f42cb9b33f22febbbea310d89cddb0b79fb98d1a (diff) |
fmtutil-sys.pl, updmap-sys.pl: New files.
git-svn-id: svn://tug.org/texlive/trunk@5722 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin')
-rwxr-xr-x | Master/bin/win32/fmtutil-sys.pl | 21 | ||||
-rwxr-xr-x | Master/bin/win32/updmap-sys.pl | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/Master/bin/win32/fmtutil-sys.pl b/Master/bin/win32/fmtutil-sys.pl new file mode 100755 index 00000000000..ad527a9b22a --- /dev/null +++ b/Master/bin/win32/fmtutil-sys.pl @@ -0,0 +1,21 @@ +#!/usr/bin/env perl + +# fmtutil-sys: wrapper script for fmtutil with TEXMFVAR and +# TEXMFCONFIG set to TEXMFSYSVAR / TEXMFSYSCONFIG + +# Copyright 2007 Reinhard Kotucha +# This file is licensed under the GNU General Public License version 2 +# or any later version. + +# Originally provided as a shell script written by Thomas Esser. +$^W=1; + +my $TEXMFSYSVAR=`kpsewhich -var-value TEXMFSYSVAR`; +chomp ("$TEXMFSYSVAR"); +$ENV{"$TEXMFVAR"}="$TEXMFSYSVAR"; + +my $TEXMFSYSCONFIG=`kpsewhich -var-value TEXMFSYSVAR`; +chomp ("$TEXMFSYSCONFIG"); +$ENV{"$TEXMFCONFIG"}="$TEXMFSYSCONFIG"; + +exec ('fmtutil', @ARGV); diff --git a/Master/bin/win32/updmap-sys.pl b/Master/bin/win32/updmap-sys.pl new file mode 100755 index 00000000000..95680d787ad --- /dev/null +++ b/Master/bin/win32/updmap-sys.pl @@ -0,0 +1,21 @@ +#!/usr/bin/env perl + +# updmap-sys: wrapper script for updmap with TEXMFVAR and +# TEXMFCONFIG set to TEXMFSYSVAR / TEXMFSYSCONFIG + +# Copyright 2007 Reinhard Kotucha +# This file is licensed under the GNU General Public License version 2 +# or any later version. + +# Originally provided as a shell script written by Thomas Esser. +$^W=1; + +my $TEXMFSYSVAR=`kpsewhich -var-value TEXMFSYSVAR`; +chomp ("$TEXMFSYSVAR"); +$ENV{"$TEXMFVAR"}="$TEXMFSYSVAR"; + +my $TEXMFSYSCONFIG=`kpsewhich -var-value TEXMFSYSVAR`; +chomp ("$TEXMFSYSCONFIG"); +$ENV{"$TEXMFCONFIG"}="$TEXMFSYSCONFIG"; + +exec ('updmap', @ARGV); |