Changeset 30403 for local

Show
Ignore:
Timestamp:
15.03.2016 11:32:08 (3 years ago)
Author:
davidb
Message:

Changed to SH not BASH syntax

Files:
1 moved

Legend:

Unmodified
Added
Removed
  • local/greenstone3/darwin-64bit/gs3-setup.sh

    r30384 r30403  
    44if [ "x$ANT_HOME" = "x" ] ; then 
    55 
    6   export ANT_HOME=`pwd`/apache-ant-1.9.6 
    7   export PATH=$ANT_HOME/bin:$PATH 
     6  ANT_HOME=`pwd`/apache-ant-1.9.6 
     7  export ANT_HOME 
     8  PATH=$ANT_HOME/bin:$PATH 
     9  export PATH 
    810 
    911  echo "+ Setting ANT_HOME to:" 
     
    1517##export JAVA_HOME=/System//Library/Frameworks/JavaVM.framework/Home 
    1618#export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home 
    17 export JAVA_HOME=`/usr/libexec/java_home` 
     19JAVA_HOME=`/usr/libexec/java_home` 
     20export JAVA_HOME 
    1821 
    19 export CFLAGS="-I$JAVA_HOME/include -I$JAVA_HOME/include/darwin" 
    20 export CXXFLAGS="$CFLAGS" 
    21 export JNICFLAGS="$CFLAGS" 
     22CFLAGS="-I$JAVA_HOME/include -I$JAVA_HOME/include/darwin" 
     23export CFLAGS 
     24CXXFLAGS="$CFLAGS" 
     25export CXXFLAGS 
     26JNICFLAGS="$CFLAGS" 
     27export JNICFLAGS 
    2228 
    23 export PATH=$JAVA_HOME/bin:$PATH 
     29PATH=$JAVA_HOME/bin:$PATH 
     30export PATH 
    2431 
    2532echo "+ Set JAVA_HOME to $JAVA_HOME and updated PATH"