root/gs2-extensions/ocr/trunk/packages/cmdline/CASCADE-MAKE.sh @ 30076

Revision 30076, 468 bytes (checked in by davidb, 4 years ago)

Tweaks to CASCADE-MAKE files so it compiles up with the 2015 version of Tesseract

Line 
1#!/bin/bash
2
3if [ ! -d "$GEXTOCR_INSTALLED/cmdline" ] ; then
4  echo "    Making directory \"$GEXTOCR_INSTALLED/cmdline\""
5  mkdir "$GEXTOCR_INSTALLED/cmdline"
6fi
7
8
9##for d in LIBTIFF LEPTONICA LIBPNG LIBJPEG TESSERACT OCROPUS ; do
10for d in LIBTIFF LIBPNG LIBJPEG LEPTONICA TESSERACT  ; do
11  echo "    Running CASCADE-MAKE/$d.sh $*"
12
13  ./CASCADE-MAKE/$d.sh $*
14
15  if [ $? != 0 ] ; then
16    echo "    Error encountered running CASCADE-COMPILE/$d.sh"
17    exit 1
18  fi
19done
Note: See TracBrowser for help on using the browser.