From 837c6894df2a778d378662d0a8282495ddfd8c1c Mon Sep 17 00:00:00 2001 From: Guilherme Andrade Del Cantoni Date: Tue, 1 Aug 2017 13:55:47 -0300 Subject: [PATCH] Correção do script ocr-server --- usr/local/bin/ocr | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/usr/local/bin/ocr b/usr/local/bin/ocr index 9a52781..6f0dcdd 100644 --- a/usr/local/bin/ocr +++ b/usr/local/bin/ocr @@ -77,11 +77,7 @@ use Sys::Hostname; use IPC::Open3; use IO::Select; -use Getopt::Std; -use vars qw( $opt_d ); - -#my $DEBUG = 2 -my $DEBUG = ($opt_d ? 2 : 0); +my $DEBUG = 0; my $MAX_PGS = ($DEBUG==2 ? 1 : 0 + `cat /proc/cpuinfo | grep -e '^processor' | wc -l`); my $MAX_FILES = ( !$DEBUG ? 2 : 1) ; -- libgit2 0.21.2