diff options
author | Reinhard Kotucha <reinhard.kotucha@web.de> | 2008-06-15 20:52:11 +0000 |
---|---|---|
committer | Reinhard Kotucha <reinhard.kotucha@web.de> | 2008-06-15 20:52:11 +0000 |
commit | d4ba58371e6580a88c4ddae2f40bd05b06d1beff (patch) | |
tree | 394380f8ed25a2694723680b780f8ce5088f2488 | |
parent | ab12e6b4146a2745c5f3413337a313bc37227286 (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
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/getnonfreefonts.pl | 2 | ||||
-rwxr-xr-x | Master/texmf/scripts/texlive/getnonfreefonts.pl | 2 |
2 files changed, 4 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; diff --git a/Master/texmf/scripts/texlive/getnonfreefonts.pl b/Master/texmf/scripts/texlive/getnonfreefonts.pl index 382a6f9c290..aeb53aab337 100755 --- a/Master/texmf/scripts/texlive/getnonfreefonts.pl +++ b/Master/texmf/scripts/texlive/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; |