Changeset 28413
- Timestamp:
- 2013-10-14T14:59:56+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/apache-jena/trunk/src/gs3-setup.sh
r28406 r28413 6 6 fulldir=${fulldir%/.} 7 7 8 if test -z $GSDLOS ; then 9 GSDLOS=`uname -s | tr '[A-Z]' '[a-z]'` 10 # check for running bash under Cygwin 11 if test "`echo $GSDLOS | sed 's/cygwin//'`" != "$GSDLOS" ; 12 then 13 GSDLOS=windows 14 fi 15 # check for running bash under MinGW/MSys 16 if test "`echo $GSDLOS | sed 's/mingw//'`" != "$GSDLOS" ; 17 then 18 GSDLOS=windows 19 fi 20 echo "GSDLOS was not set. Setting it to '$GSDLOS'" 21 export GSDLOS 22 fi 23 24 8 25 if [ "x$GEXT_JENA" = "x" ] ; then 9 26 export GEXT_JENA=`pwd` 27 export GEXT_JENA_INSTALLED=$GEXT_JENA # Pure Java, so no need for OS dependant directory 10 28 11 if [ -d "$GEXT_JENA/bin/script" ] ; then 12 export PATH=$GEXT_JENA/bin/script:$PATH 29 export FUSEKI_HOME=$GEXT_JENA 30 31 if [ -d "$GEXT_JENA_INSTALLED/bin/script" ] ; then 32 export PATH=$GEXT_JENA_INSTALLED/bin/script:$PATH 13 33 fi 14 34 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 35 # if [ -d "$GEXT_JENA_INSTALLED/bin" ] ; then 36 # export PATH=$GEXT_JENA_INSTALLED/bin:$PATH 37 # fi 38 39 40 # if [ -d "$GEXT_JENA/lib" ] ; then 41 # if [ "$GSDLOS" = "linux" ] ; then 42 # export LD_LIBRARY_PATH=$GEXT_JENA/lib:$LD_LIBRARY_PATH 43 # elif [ "$GSDLOS" = "darwin" ] ; then 44 # export DYLD_LIBRARY_PATH=$GEXT_JENA/lib:$DYLD_LIBRARY_PATH 45 # fi 46 # fi 22 47 23 48 extdir=${GEXT_JENA##*/}
Note:
See TracChangeset
for help on using the changeset viewer.