source: gs2-extensions/gsdl-amp/trunk/setup.bash@ 21525

Last change on this file since 21525 was 16683, checked in by davidb, 16 years ago

Creation of Apache-Mysql-Php (AMP) extension of Greenstone

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