fix oops.

This commit is contained in:
fewtarius 2023-02-22 07:55:57 -05:00
parent 2a41e09279
commit 8c99d4ce68
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -16,7 +16,7 @@ make_host() {
export JAVA_HOME=$(get_build_dir jdk-zulu)
### Work around for down/missing ftp server.
TMPCACHE="${HOME}/.ant/tempcache"
TMPCACHE="${ROOT}/.ant/tempcache"
if [ ! -d "${TMPCACHE}" ]
then
mkdir -p ${TMPCACHE}
@ -24,11 +24,11 @@ make_host() {
if [ ! -e "${TMPCACHE}/NetRexx.zip" ]
then
curl -Lo ${TMPCACHE}/NetRexx.zip https://public.dhe.ibm.com/software/awdtools/netrexx/
curl -Lo ${TMPCACHE}/NetRexx.zip https://public.dhe.ibm.com/software/awdtools/netrexx/NetRexx.zip
fi
./bootstrap.sh
./bootstrap/bin/ant -f fetch.xml -Ddest=optional
./bootstrap/bin/ant -f fetch.xml -Ddest=optional -Dtemp.dir=${TMPCACHE}
./build.sh -Ddist.dir=${PKG_BUILD}/binary dist
)
}