source: local/greenstone3/darwin-64bit/gs3-setup.sh@ 30403

Last change on this file since 30403 was 30403, checked in by davidb, 5 years ago

Changed to SH not BASH syntax

File size: 673 bytes
Line 
1
2#-- Ant --
3
4if [ "x$ANT_HOME" = "x" ] ; then
5
6 ANT_HOME=`pwd`/apache-ant-1.9.6
7 export ANT_HOME
8 PATH=$ANT_HOME/bin:$PATH
9 export PATH
10
11 echo "+ Setting ANT_HOME to:"
12 echo "+ $ANT_HOME"
13 echo "+ and updating PATH"
14fi
15
16
17##export JAVA_HOME=/System//Library/Frameworks/JavaVM.framework/Home
18#export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
19JAVA_HOME=`/usr/libexec/java_home`
20export JAVA_HOME
21
22CFLAGS="-I$JAVA_HOME/include -I$JAVA_HOME/include/darwin"
23export CFLAGS
24CXXFLAGS="$CFLAGS"
25export CXXFLAGS
26JNICFLAGS="$CFLAGS"
27export JNICFLAGS
28
29PATH=$JAVA_HOME/bin:$PATH
30export PATH
31
32echo "+ Set JAVA_HOME to $JAVA_HOME and updated PATH"
Note: See TracBrowser for help on using the repository browser.