source: gs2-extensions/apache-jena/trunk/src/gs3-setup.bash@ 28404

Last change on this file since 28404 was 28404, checked in by davidb, 11 years ago

Look to make extension for gs3

  • Property svn:executable set to *
File size: 786 bytes
Line 
1
2extdesc="the Apache Jena Extension"
3
4full_setup=`pwd`/${BASH_SOURCE}
5fulldir=${full_setup%/*}
6fulldir=${fulldir%/.}
7
8if [ "x$GEXT_JENA" = "x" ] ; then
9 export GEXT_JENA=`pwd`
10
11 if [ -d "$GEXT_JENA/bin/script" ] ; then
12 export PATH=$GEXT_JENA/bin/script:$PATH
13 fi
14
15 if [ -d "$GEXT_JENA/lib" ] ; then
16 if [ "$GSDLOS" = "linux" ] ; then
17 export LD_LIBRARY_PATH=$GEXT_JENA/lib:$LD_LIBRARY_PATH
18 elif [ "$GSDLOS" = "darwin" ] ; then
19 export DYLD_LIBRARY_PATH=$GEXT_JENA/lib:$DYLD_LIBRARY_PATH
20 fi
21 fi
22
23 extdir=${GEXT_JENA##*/}
24
25 if [ "x$GSDLEXTS" = "x" ] ; then
26 export GSDLEXTS=$extdir
27 else
28 export GSDLEXTS=$GSDLEXTS:$extdir
29 fi
30
31
32 echo "+Your environment is now setup for $extdesc"
33else
34 echo "+Your environment is already setup for $extdesc"
35fi
Note: See TracBrowser for help on using the repository browser.