annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
be282c48010a Incomplete; checking it in as a backup.
David Barts <n5jrn@me.com>
parents:
diff changeset
1 #!/bin/bash
be282c48010a Incomplete; checking it in as a backup.
David Barts <n5jrn@me.com>
parents:
diff changeset
2
be282c48010a Incomplete; checking it in as a backup.
David Barts <n5jrn@me.com>
parents:
diff changeset
3 export JRE_HOME="$(/usr/libexec/java_home)"
51
e8d2a7e6f6c7 So it builds under Windoze (at last!)
davidb
parents: 47
diff changeset
4 export KOTLIN_HOME="/usr/local/Cellar/kotlin/1.3.71/libexec"
0
be282c48010a Incomplete; checking it in as a backup.
David Barts <n5jrn@me.com>
parents:
diff changeset
5
be282c48010a Incomplete; checking it in as a backup.
David Barts <n5jrn@me.com>
parents:
diff changeset
6 export ANT_HOME="$HOME/java/apache-ant-1.10.1"
be282c48010a Incomplete; checking it in as a backup.
David Barts <n5jrn@me.com>
parents:
diff changeset
7 if [[ "$PATH" != *$ANT_HOME/bin* ]]
be282c48010a Incomplete; checking it in as a backup.
David Barts <n5jrn@me.com>
parents:
diff changeset
8 then
be282c48010a Incomplete; checking it in as a backup.
David Barts <n5jrn@me.com>
parents:
diff changeset
9 export PATH="$ANT_HOME/bin:$PATH"
be282c48010a Incomplete; checking it in as a backup.
David Barts <n5jrn@me.com>
parents:
diff changeset
10 fi