kcobra / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

Patch for /autogen.sh #1483

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There should be nothing between '==' and strings in order to equality checking 
in "sh" format, spaces belongs to "bash" format.

Original issue reported on code.google.com by salehi1...@gmail.com on 9 Jun 2015 at 6:03

Attachments:

GoogleCodeExporter commented 9 years ago
What it the benefit of this patch? What kind of problem it solve?

Original comment by zde...@gmail.com on 10 Jun 2015 at 5:56

GoogleCodeExporter commented 9 years ago
This patch, solves the problem of cleaning task which is defined in autogen.sh 
with a quiet mistake.
Its very tiny patch, and I know that, but this patch is necessary in order to 
running "autogen.sh" without a problem with mentioned "if" statement in the 
patch.

Original comment by salehi1...@gmail.com on 10 Jun 2015 at 7:02

GoogleCodeExporter commented 9 years ago
Which shell/platform/environment has problem with current version of autogen.sh?

Original comment by zde...@gmail.com on 10 Jun 2015 at 7:54

GoogleCodeExporter commented 9 years ago
This is a syntax error! All of versions and platforms.

Original comment by salehi1...@gmail.com on 10 Jun 2015 at 8:14

GoogleCodeExporter commented 9 years ago
That is not true. 
This script is used at a lot of platforms and environments (linux, msys, 
msys2...) and nobody except you is claiming problem. Please provide real test 
case. 

Original comment by zde...@gmail.com on 10 Jun 2015 at 8:59

GoogleCodeExporter commented 9 years ago

Original comment by zde...@gmail.com on 25 Jun 2015 at 8:37