From: Sven Schöling Date: Wed, 14 Feb 2018 15:13:03 +0000 (+0100) Subject: InstallationCheck: String::Shellcode nicht zur compilezeit laden X-Git-Tag: release-3.5.4~459 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1cff7d8034b00f4fd365a716596b54b798f035d7;p=kivitendo-erp.git InstallationCheck: String::Shellcode nicht zur compilezeit laden --- 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;