diff options
Diffstat (limited to 'Master/tlpkg/bin/tlpdb2updmap')
-rwxr-xr-x | Master/tlpkg/bin/tlpdb2updmap | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tlpdb2updmap b/Master/tlpkg/bin/tlpdb2updmap index bfb51a5eedb..bd084eba8cd 100755 --- a/Master/tlpkg/bin/tlpdb2updmap +++ b/Master/tlpkg/bin/tlpdb2updmap @@ -26,13 +26,18 @@ use File::Path; our $NEW_UPDMAP_CFG; our $mydir; -our $opt_debug = 0; +my $opt_debug = 0; my $help = 0; GetOptions("debug!", "help|?" => \$help) or pod2usage(1); pod2usage(-exitstatus => 0, -verbose => 2) if $help; +if ($opt_debug) { + $::LOGLEVELFILE = $::LOG_DDDEBUG; + $::LOGLEVELTERMINAL = $::LOG_DDDEBUG; +} + exit (&main ()); sub main |