From 1cff7d8034b00f4fd365a716596b54b798f035d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 14 Feb 2018 16:13:03 +0100 Subject: [PATCH] InstallationCheck: String::Shellcode nicht zur compilezeit laden --- SL/InstallationCheck.pm | 2 +- scripts/installation_check.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/InstallationCheck.pm b/SL/InstallationCheck.pm index ec2b719dc..d35151474 100644 --- a/SL/InstallationCheck.pm +++ b/SL/InstallationCheck.pm @@ -127,7 +127,7 @@ sub template_dirs { sub classes_from_latex { my ($path, $class) = @_; - eval { use String::ShellQuote; 1 } or warn "can't load String::ShellQuote" && return; + eval { require String::ShellQuote; 1 } or warn "can't load String::ShellQuote" && return; $path = shell_quote $path; $class = shell_quote $class; diff --git a/scripts/installation_check.pl b/scripts/installation_check.pl index 48d78eaf5..6f92bba69 100755 --- a/scripts/installation_check.pl +++ b/scripts/installation_check.pl @@ -179,7 +179,7 @@ sub kpsewhich { $package =~ s/[^-_0-9A-Za-z]//g; my $type_desc = $type eq 'cls' ? 'document class' : 'package'; - eval { use String::ShellQuote; 1 } or warn "can't load String::ShellQuote" && return; + eval { require String::ShellQuote; 1 } or warn "can't load String::ShellQuote" && return; $dw = shell_quote $dw; my $e_package = shell_quote $package; my $e_type = shell_quote $type; -- 2.20.1