source: gs2-extensions/gsdl-image/trunk/setup.bash@ 21526

Last change on this file since 21526 was 16676, checked in by davidb, 16 years ago

Creation of Greenstone extension for image analysis

File size: 633 bytes
Line 
1
2extdesc="the Image Analysis Extension"
3
4if [ "x$GEXTIMAGE" = "x" ] ; then
5 export GEXTIMAGE=`pwd`
6 export GEXTIMAGE_INSTALLED=$GEXTIMAGE/installed
7
8 export PATH=$GEXTIMAGE_INSTALLED/bin:$PATH
9
10 if [ "x$LD_LIBRARY_PATH" = "x" ] ; then
11 export LD_LIBRARY_PATH=$GEXTIMAGE_INSTALLED/lib
12 else
13 export LD_LIBRARY_PATH=$GEXTIMAGE_INSTALLED/lib:$LD_LIBRARY_PATH
14 fi
15
16 if [ "x$GSDLEXTS" = "x" ] ; then
17 export GSDLEXTS=image
18 else
19 export GSDLEXTS=$GSDLEXTS:image
20 fi
21
22
23 echo "+Your environment is now setup for $extdesc to Greenstone"
24else
25 echo "+Your environment is already setup for $extdesc to Greenstone"
26fi
27
28
Note: See TracBrowser for help on using the repository browser.