comparison setup.sh @ 51:e8d2a7e6f6c7

So it builds under Windoze (at last!)
author davidb
date Tue, 14 Apr 2020 14:35:04 -0700
parents 19d9da731c43
children 22725d4d7849
comparison
equal deleted inserted replaced
50:3f8409470fdf 51:e8d2a7e6f6c7
1 #!/bin/bash 1 #!/bin/bash
2 2
3 export JRE_HOME="$(/usr/libexec/java_home)" 3 export JRE_HOME="$(/usr/libexec/java_home)"
4 export KOTLIN_HOME="/usr/local/Cellar/kotlin/1.3.71" 4 export KOTLIN_HOME="/usr/local/Cellar/kotlin/1.3.71/libexec"
5 5
6 export ANT_HOME="$HOME/java/apache-ant-1.10.1" 6 export ANT_HOME="$HOME/java/apache-ant-1.10.1"
7 if [[ "$PATH" != *$ANT_HOME/bin* ]] 7 if [[ "$PATH" != *$ANT_HOME/bin* ]]
8 then 8 then
9 export PATH="$ANT_HOME/bin:$PATH" 9 export PATH="$ANT_HOME/bin:$PATH"