summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorReinhard Kotucha <reinhard.kotucha@web.de>2008-06-15 20:52:11 +0000
committerReinhard Kotucha <reinhard.kotucha@web.de>2008-06-15 20:52:11 +0000
commitd4ba58371e6580a88c4ddae2f40bd05b06d1beff (patch)
tree394380f8ed25a2694723680b780f8ce5088f2488 /Build
parentab12e6b4146a2745c5f3413337a313bc37227286 (diff)
getnonfreefonts.pl: create TEXMFHOME if it doesn't exist already.
git-svn-id: svn://tug.org/texlive/trunk@8759 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/getnonfreefonts.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/getnonfreefonts.pl b/Build/source/texk/texlive/linked_scripts/getnonfreefonts.pl
index 382a6f9c290..aeb53aab337 100755
--- a/Build/source/texk/texlive/linked_scripts/getnonfreefonts.pl
+++ b/Build/source/texk/texlive/linked_scripts/getnonfreefonts.pl
@@ -184,6 +184,8 @@ $INSTALLROOT=~s/\\/\//g if ($^O=~/^MSWin(32|64)/i);
debug_msg "Internal variable INSTALLROOT converted to '$INSTALLROOT'";
sub check_installroot {
+ mkdir "$INSTALLROOT" unless (-d "$INSTALLROOT");
+
die "! ERROR: The variable $INSTALLROOTNAME is not set.\n"
unless length ("$INSTALLROOT") > 0;