view setup.sh @ 59:8b707fa0a4fc

Convert to new-style mac app.
author David Barts <n5jrn@me.com>
date Sun, 03 Apr 2022 15:37:42 -0700
parents 22725d4d7849
children
line wrap: on
line source

#!/bin/bash

export JRE_HOME="$(/usr/libexec/java_home)"
export KOTLIN_HOME="/Users/davidb/kotlin/1.6.10/kotlinc"
if [[ "$PATH" != *$KOTLIN_HOME/bin* ]]
then
    export PATH="$KOTLIN_HOME/bin:$PATH"
fi

export ANT_HOME="$HOME/java/apache-ant-1.10.1"
if [[ "$PATH" != *$ANT_HOME/bin* ]]
then
    export PATH="$ANT_HOME/bin:$PATH"
fi