#!/bin/bash if [ "x$GEXTOCR" = "x" ] ; then source setup.bash fi if [ "x$GEXTOCR_DEVEL" = "x" ] ; then # Set environment variable so we can tell devel.bash has been sourced export GEXTOCR_DEVEL=$GEXTOCR export PATH=$GEXTOCR/bin/:$GEXTOCR_INSTALLED/devel/bin:$PATH export PERL5PATH=$GEXTOCR_INSTALLED/devel/lib/perl5/vendor_perl/5.8.8 echo "+Your environment is now setup for OCR (Ocropus) development" else echo "+Your environment is already setup for OCR (Ocropus) development" fi