summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-01-16 00:02:11 +0000
committerKarl Berry <karl@freefriends.org>2015-01-16 00:02:11 +0000
commite34b537ff1c3400ba0858b6c51bc177533e8ba6f (patch)
treedfb2b00770e6731ae31c3802835d6ce76dee7ebf
parent2e4ec44d506fe03e0c25ffe9908cb782cb1ea99a (diff)
(BEGIN): don't use print_error in BEGIN block,
it's not defined yet. git-svn-id: svn://tug.org/texlive/trunk@36067 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/updmap.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/texlive/updmap.pl b/Master/texmf-dist/scripts/texlive/updmap.pl
index eec019d1d34..e24e239f8af 100755
--- a/Master/texmf-dist/scripts/texlive/updmap.pl
+++ b/Master/texmf-dist/scripts/texlive/updmap.pl
@@ -18,14 +18,14 @@ my $svnid = '$Id$';
my $TEXMFROOT;
BEGIN {
- $^W=1;
+ $^W = 1;
$TEXMFROOT = `kpsewhich -var-value=TEXMFROOT`;
if ($?) {
- print_error("Cannot find TEXMFROOT, aborting!\n");
+ warn "updmap.pl: kpsewhich -var-value=TEXMFROOT failed, aborting early.\n";
exit 1;
}
chomp($TEXMFROOT);
- unshift (@INC, "$TEXMFROOT/tlpkg");
+ unshift(@INC, "$TEXMFROOT/tlpkg");
}
my $lastchdate = '$Date$';