summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/getnonfreefonts.pl2
-rwxr-xr-xMaster/texmf/scripts/texlive/getnonfreefonts.pl2
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;