Changeset 36338


Ignore:
Timestamp:
2022-07-29T10:19:33+12:00 (2 weeks ago)
Author:
kjdon
Message:

some changes for use in 32 bit situation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gs-release-builder/setup-env.sh

    r36212 r36338  
    1 HOME_DIR=/gs-release-builder
     1HOME_DIR=/greenstone/gs-release-builder
    22PKG_DIR=$HOME_DIR/packages
     3
     4# Set this following to 32 if generating the 32 bit linux versions
     5bitness=64
     6
     7
    38#JAVA
    49export JAVA_HOME=$PKG_DIR/jdk1.8.0_301
     
    611export PATH=$JAVA_HOME/bin:$PATH
    712echo Adding $JAVA_HOME/bin to PATH
    8 export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64/jli:$LD_LIBRARY_PATH
    9 echo Adding $JAVA_HOME/jre/lib/amd64/jli to LD_LIBRARY_PATH
     13if [ "$bitness" = "32" ] ; then
     14    export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386/jli:$LD_LIBRARY_PATH
     15    echo Adding $JAVA_HOME/jre/lib/i386/jli to LD_LIBRARY_PATH
     16else
     17    export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64/jli:$LD_LIBRARY_PATH
     18    echo Adding $JAVA_HOME/jre/lib/amd64/jli to LD_LIBRARY_PATH
     19fi
     20
    1021
    1122
     
    3243export PATH=$HOME_DIR/release-kits/bin:$PATH
    3344echo Adding $HOME_DIR/release-kits/bin to PATH
     45
    3446export LC_ALL=C
Note: See TracChangeset for help on using the changeset viewer.