Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1cff7d80

Von Sven Schöling vor etwa 7 Jahren hinzugefügt

  • ID 1cff7d8034b00f4fd365a716596b54b798f035d7
  • Vorgänger 932f2895
  • Nachfolger fc9548f8

InstallationCheck: String::Shellcode nicht zur compilezeit laden

Unterschiede anzeigen:

SL/InstallationCheck.pm
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;
scripts/installation_check.pl
$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;

Auch abrufbar als: Unified diff