X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1cff7d8034b00f4fd365a716596b54b798f035d7..828c7d4e23cdaf973f83d5dc545e9be8ef73bedc:/SL/InstallationCheck.pm?ds=sidebyside diff --git a/SL/InstallationCheck.pm b/SL/InstallationCheck.pm index d35151474..56ec690ed 100644 --- a/SL/InstallationCheck.pm +++ b/SL/InstallationCheck.pm @@ -128,8 +128,8 @@ sub template_dirs { sub classes_from_latex { my ($path, $class) = @_; eval { require String::ShellQuote; 1 } or warn "can't load String::ShellQuote" && return; - $path = shell_quote $path; - $class = shell_quote $class; + $path = String::ShellQuote::shell_quote $path; + $class = String::ShellQuote::shell_quote $class; open my $pipe, q#egrep -rs '^[\ \t]*# . "$class' $path". q# | sed 's/ //g' | awk -F '{' '{print $2}' | awk -F '}' '{print $1}' |#; my @cls = <$pipe>;