From 6ea29cc892f059e9b8aeb189e8e6a22667fbc2da Mon Sep 17 00:00:00 2001 From: fritz-hh Date: Mon, 6 Jan 2014 19:36:07 +0100 Subject: [PATCH] fixes #42 (bashism removed) --- OCRmyPDF.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OCRmyPDF.sh b/OCRmyPDF.sh index e341371..01d1a48 100644 --- a/OCRmyPDF.sh +++ b/OCRmyPDF.sh @@ -229,7 +229,7 @@ while read pageSize ; do # Identify if page image should be saved as ppm (color) or pgm (gray) ext="ppm" opt="" - if [ $colorspaceCurImg == "Gray" ]; then + if [ $colorspaceCurImg = "Gray" ]; then ext="pgm" opt="-gray" fi