Revision 1cff7d80
Von Sven Schöling vor fast 7 Jahren hinzugefügt
SL/InstallationCheck.pm | ||
---|---|---|
127 | 127 |
|
128 | 128 |
sub classes_from_latex { |
129 | 129 |
my ($path, $class) = @_; |
130 |
eval { use String::ShellQuote; 1 } or warn "can't load String::ShellQuote" && return;
|
|
130 |
eval { require String::ShellQuote; 1 } or warn "can't load String::ShellQuote" && return;
|
|
131 | 131 |
$path = shell_quote $path; |
132 | 132 |
$class = shell_quote $class; |
133 | 133 |
|
scripts/installation_check.pl | ||
---|---|---|
179 | 179 |
$package =~ s/[^-_0-9A-Za-z]//g; |
180 | 180 |
my $type_desc = $type eq 'cls' ? 'document class' : 'package'; |
181 | 181 |
|
182 |
eval { use String::ShellQuote; 1 } or warn "can't load String::ShellQuote" && return;
|
|
182 |
eval { require String::ShellQuote; 1 } or warn "can't load String::ShellQuote" && return;
|
|
183 | 183 |
$dw = shell_quote $dw; |
184 | 184 |
my $e_package = shell_quote $package; |
185 | 185 |
my $e_type = shell_quote $type; |
Auch abrufbar als: Unified diff
InstallationCheck: String::Shellcode nicht zur compilezeit laden