summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/updmap.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/texlive/updmap.pl b/Master/texmf-dist/scripts/texlive/updmap.pl
index 68c5f35913e..7b796c8a614 100755
--- a/Master/texmf-dist/scripts/texlive/updmap.pl
+++ b/Master/texmf-dist/scripts/texlive/updmap.pl
@@ -1476,6 +1476,11 @@ sub enable_disable_maps {
if ($w =~ m/=/) {
# this is --enable MapType=MapName
my ($type, $map) = split ('=', $w);
+ # allow for all lowercase map types (map/mixedmap/kanjimap)
+ $type =~ s/map$/Map/;
+ $type = ucfirst($type);
+ # don't allow for map names containing /
+ die "$prg: map files cannot be relative/absolute paths: $map\n" if ($map =~ m{/})
enable_map($tc, $type, $map);
} else {
# this is --disable MapName