source: gs2-extensions/mysql/trunk/src/setup.bash@ 23041

Last change on this file since 23041 was 23041, checked in by sjm84, 13 years ago

Removed some unnecessary code

File size: 921 bytes
Line 
1extdesc="the MySQL"
2
3full_setup=`pwd`/${BASH_SOURCE}
4fulldir=${full_setup%/*}
5fulldir=${fulldir%/.}
6
7source cascade-make/lib/cascade-lib.bash
8
9if [ "x$GEXTMYSQL" = "x" ] ; then
10 export GEXTMYSQL=$fulldir
11 export GEXTMYSQL_INSTALLED=$GEXTMYSQL/$GSDLOS
12
13 export PATH=$GEXTMYSQL_INSTALLED/bin:$PATH
14
15 if [ "x$LD_LIBRARY_PATH" = "x" ] ; then
16 export LD_LIBRARY_PATH=$GEXTMYSQL_INSTALLED/lib
17 else
18 export LD_LIBRARY_PATH=$GEXTMYSQL_INSTALLED/lib:$LD_LIBRARY_PATH
19 fi
20 if [ "x$DYLD_LIBRARY_PATH" = "x" ] ; then
21 export DYLD_LIBRARY_PATH=$GEXTMYSQL_INSTALLED/lib
22 else
23 export DYLD_LIBRARY_PATH=$GEXTMYSQL_INSTALLED/lib:$DYLD_LIBRARY_PATH
24 fi
25
26 extdir=${GEXTMYSQL##*/}
27
28 if [ "x$GSDLEXTS" = "x" ] ; then
29 export GSDLEXTS=$extdir
30 else
31 export GSDLEXTS=$GSDLEXTS:$extdir
32 fi
33
34
35 echo "+Your environment is now setup for $extdesc"
36else
37 echo "+Your environment is already setup for $extdesc"
38fi
Note: See TracBrowser for help on using the repository browser.