Changeset 28413


Ignore:
Timestamp:
10/14/13 14:59:56 (8 years ago)
Author:
davidb
Message:

Pure Java solution. Make install directory top-level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/apache-jena/trunk/src/gs3-setup.sh

    r28406 r28413  
    66fulldir=${fulldir%/.}
    77
     8if 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
     22fi
     23
     24
    825if [ "x$GEXT_JENA" = "x" ] ; then
    926  export GEXT_JENA=`pwd`
     27  export GEXT_JENA_INSTALLED=$GEXT_JENA # Pure Java, so no need for OS dependant directory
    1028
    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
    1333  fi
    1434
    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
    2247
    2348  extdir=${GEXT_JENA##*/}
Note: See TracChangeset for help on using the changeset viewer.